diff options
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | capture_sync.c | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -3617,6 +3617,7 @@ Andras Veres-Szentkiralyi <vsza [AT] vsza.hu> Jakob Hirsch <jh.wireshark-bugzilla [AT] plonk.de> Роман Донченко <DXDragon [AT] yandex.ru> <billyjeans [AT] gmail.com> +Evan Huus <eapache [AT] gmail.com> Dan Lasley <dlasley[AT]promus.com> gave permission for his dumpit() hex-dump routine to be used. diff --git a/capture_sync.c b/capture_sync.c index 386452c839..366a566f82 100644 --- a/capture_sync.c +++ b/capture_sync.c @@ -313,6 +313,9 @@ init_pipe_args(int *argc) { /* Make that the first argument in the argument list (argv[0]). */ argv = sync_pipe_add_arg(argv, argc, exename); + /* sync_pipe_add_arg strdupes exename, so we should free our copy */ + g_free(exename); + return argv; } |