diff --git a/AUTHORS b/AUTHORS index 6c01a4677b..d3bdaaaca7 100644 --- a/AUTHORS +++ b/AUTHORS @@ -3617,6 +3617,7 @@ Andras Veres-Szentkiralyi Jakob Hirsch Роман Донченко +Evan Huus Dan Lasley 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; }