Skip to content
Browse files

- Avoid crashing when trying to write on a non connected socket

  • Loading branch information...
1 parent 43d8a4a commit 67625c202c2295d8dddcabc5b27c012b1f2dcd0b @paraboul paraboul committed Nov 25, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 modules/libape-spidermonkey.c
View
1 modules/libape-spidermonkey.c
@@ -2219,6 +2219,7 @@ APE_JS_NATIVE(ape_sm_sockclient_constructor)
sock_obj = xmalloc(sizeof(*sock_obj));
sock_obj->client_obj = NULL;
+ sock_obj->client = NULL;
cbcopy = xmalloc(sizeof(struct _ape_sock_callbacks));

0 comments on commit 67625c2

Please sign in to comment.
Something went wrong with that request. Please try again.