sharkd: fix a memory leak on Windows introduced in gfe06aad
Change-Id: I907dbc924574b02d2f1b8d7668158b5b6d2c87cf Reviewed-on: https://code.wireshark.org/review/20073 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
This commit is contained in:
parent
dc3b7722cd
commit
8bc29d187d
|
@ -291,6 +291,7 @@ sharkd_loop(void)
|
|||
}
|
||||
|
||||
g_free(exename);
|
||||
g_free(commandline);
|
||||
#endif
|
||||
|
||||
closesocket(fd);
|
||||
|
|
Loading…
Reference in New Issue