diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-04-12 00:54:52 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-04-12 00:54:52 +0000 |
commit | 06ef0a3b5234f99d64ff11819b5182d3fb12dd78 (patch) | |
tree | 7b034594d6fb03ec669868485bc6475f1d66006d /capture.c | |
parent | 61ccc8baf1f786dc42c7f3e86a564d151974cbb3 (diff) |
it should now be possible to use "Update packets in real time" even if used with one of the "Multiple files" option.
If this is used together with an option where input files changes too fast (e.g. new file every second), capturing will be (hopefully) stopped.
I've replaced the former capture pipe message format into a somewhat more general format to remove a lot of confusion.
svn path=/trunk/; revision=14054
Diffstat (limited to 'capture.c')
-rw-r--r-- | capture.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -326,9 +326,10 @@ capture_input_closed(capture_options *capture_opts) } /* We're not doing a capture any more, so we don't have a save file. */ - g_assert(capture_opts->save_file); - g_free(capture_opts->save_file); - capture_opts->save_file = NULL; + if(capture_opts->save_file) { + g_free(capture_opts->save_file); + capture_opts->save_file = NULL; + } } |