Closed jackyzy823 closed 7 years ago
https://github.com/ASPLes/nopoll/blob/84185610cce6b0aec52e0c7e490eb066735a66bd/src/nopoll_ctx.c#L75
#if defined(NOPOLL_OS_WIN32) if (! nopoll_win32_init (result)) return NULL; #endif
it just return NULL without free noPollCtx when winsock initialization failed
NULL
noPollCtx
Thanks for taking your time and reporting!
https://github.com/ASPLes/nopoll/blob/84185610cce6b0aec52e0c7e490eb066735a66bd/src/nopoll_ctx.c#L75
it just return
NULL
without freenoPollCtx
when winsock initialization failed