aboutsummaryrefslogtreecommitdiffstats
path: root/capture_sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'capture_sync.c')
-rw-r--r--capture_sync.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/capture_sync.c b/capture_sync.c
index d0a5feb91f..90bfdc0dff 100644
--- a/capture_sync.c
+++ b/capture_sync.c
@@ -472,6 +472,7 @@ sync_pipe_start(capture_options *capture_opts) {
}
/* Convert save file name to a quote delimited string and pass to child */
+ savefilestring = NULL;
if(capture_opts->save_file) {
argv = sync_pipe_add_arg(argv, &argc, "-w");
savefilestring = sync_pipe_quote_encapsulate(capture_opts->save_file);