mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
Fix for a server-crashing issue in libnudge.
Signed-off-by: Mloc-Argent <colmohici@gmail.com>
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user