Skip to content

Commit 3721165

Browse files
amai2012danmar
authored andcommitted
Fixed cppcheck-opensource#4611 (Resource leak not found (was: Reverse NULL check))
1 parent fae8ef4 commit 3721165

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cfg/posix.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
<resource>
1212
<dealloc>close</dealloc>
13+
<alloc init="true">open</alloc>
1314
<alloc init="true">socket</alloc>
1415
</resource>
1516

0 commit comments

Comments
 (0)