diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2017-02-12 17:34:45 +0100 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2017-02-12 17:50:45 +0000 |
commit | 8bc29d187dfd4f3bcdef12489f3775c9fe20deb1 (patch) | |
tree | ea5dd6cb2ba24c4a3db3f6e02a690eaebea74943 /sharkd_daemon.c | |
parent | dc3b7722cd05bf7d77d244116827925dc417212f (diff) |
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>
Diffstat (limited to 'sharkd_daemon.c')
-rw-r--r-- | sharkd_daemon.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sharkd_daemon.c b/sharkd_daemon.c index 9d8f06d10f..f9279706ea 100644 --- a/sharkd_daemon.c +++ b/sharkd_daemon.c @@ -291,6 +291,7 @@ sharkd_loop(void) } g_free(exename); + g_free(commandline); #endif closesocket(fd); |