diff options
Diffstat (limited to 'capture_sync.c')
-rw-r--r-- | capture_sync.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |