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:
Pascal Quantin 2017-02-12 17:34:45 +01:00 committed by Alexis La Goutte
parent dc3b7722cd
commit 8bc29d187d
1 changed files with 1 additions and 0 deletions

View File

@ -291,6 +291,7 @@ sharkd_loop(void)
}
g_free(exename);
g_free(commandline);
#endif
closesocket(fd);