]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/gsocket.c
correction to maintain data array in synch with string array
[wxWidgets.git] / src / msw / gsocket.c
index 47325c4320f460e7ca4a3ceb5cb033f80c939ff4..60d2c3f417c1d9ba254fac62c7588a3243a20046 100644 (file)
@@ -97,7 +97,7 @@ GSocket *GSocket_new(void)
   if (!success)
   {
     free(socket);
-    return NULL;
+    socket = NULL;
   }
 
   return socket;