X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c9eff305505d6e3a63026c542004d518d997d2a..a98f98ac6f4422f259fc3324975156f7554adf41:/src/msw/gsocket.c 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;