Fix for a server-crashing issue in libnudge.

Signed-off-by: Mloc-Argent <colmohici@gmail.com>
This commit is contained in:
Mloc-Argent
2014-03-04 22:14:57 +00:00
parent 49890421f8
commit 43d6412322

View File

@@ -68,6 +68,8 @@ DLL_EXPORT const char * nudge(int n, char *v[])
send_n(nudge_sock, san_out, out_c + 56);
close_socket(nudge_sock);
free(san_out);
return "1";
}