X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c9eff305505d6e3a63026c542004d518d997d2a..d8c72298ec07a4f296ffde211360682447b9d159:/src/msw/gsocket.c?ds=inline diff --git a/src/msw/gsocket.c b/src/msw/gsocket.c index 47325c4320..60d2c3f417 100644 --- a/src/msw/gsocket.c +++ b/src/msw/gsocket.c @@ -97,7 +97,7 @@ GSocket *GSocket_new(void) if (!success) { free(socket); - return NULL; + socket = NULL; } return socket;