aboutsummaryrefslogtreecommitdiffstats
path: root/sharkd_daemon.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2017-02-12 17:34:45 +0100
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2017-02-12 17:50:45 +0000
commit8bc29d187dfd4f3bcdef12489f3775c9fe20deb1 (patch)
treeea5dd6cb2ba24c4a3db3f6e02a690eaebea74943 /sharkd_daemon.c
parentdc3b7722cd05bf7d77d244116827925dc417212f (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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sharkd_daemon.c b/sharkd_daemon.c
index 9d8f06d..f927970 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);