Fixed #3535 (Leaking socket)
This commit is contained in:
parent
c5971b7137
commit
59d43de5e9
|
@ -2,5 +2,10 @@
|
|||
<def>
|
||||
<function name="usleep"> <noreturn>false</noreturn> <arg nr="1"><not-bool/><valid>0-999999</valid></arg> </function>
|
||||
<function name="_exit"> <noreturn>true</noreturn> </function>
|
||||
|
||||
<resource>
|
||||
<dealloc>close</dealloc>
|
||||
<alloc init="true">socket</alloc>
|
||||
</resource>
|
||||
</def>
|
||||
|
||||
|
|
|
@ -4,6 +4,10 @@
|
|||
<alloc>CreatePen</alloc>
|
||||
<dealloc>DestroyObject</dealloc>
|
||||
</resource>
|
||||
<resource>
|
||||
<dealloc>closesocket</dealloc>
|
||||
<alloc init="true">socket</alloc>
|
||||
</resource>
|
||||
|
||||
<function name="ZeroMemory">
|
||||
<noreturn>false</noreturn>
|
||||
|
|
Loading…
Reference in New Issue