diff options
Diffstat (limited to 'libhb/ports.c')
-rw-r--r-- | libhb/ports.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/ports.c b/libhb/ports.c index 6ccbaede3..cec4efd96 100644 --- a/libhb/ports.c +++ b/libhb/ports.c @@ -693,6 +693,7 @@ hb_net_t * hb_net_open( char * address, int port ) if (iResult != 0) { hb_log("WSAStartup failed: %d", iResult); + free(n); return NULL; } winsock_init = 1; |