diff options
author | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-05-27 06:52:32 +0000 |
---|---|---|
committer | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-05-27 06:52:32 +0000 |
commit | a4df6439a3c89cb45b115dea56299a439cfac945 (patch) | |
tree | fb3b435339eb5580b64b7ce055c21dbfe62b5173 /dumpcap.c | |
parent | 3b042c469d1e0d63582ca8c8d92a88173f60c642 (diff) |
Initialize global_ld.pcaps before we setup signal handlers, which
uses this list to cleanup.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37425 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'dumpcap.c')
-rw-r--r-- | dumpcap.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -3817,6 +3817,9 @@ main(int argc, char *argv[]) log_flags, console_log_handler, NULL /* user_data */); + /* Initialize the pcaps list */ + global_ld.pcaps = NULL; + /* Initialize the thread system */ if (!g_thread_supported()) g_thread_init(NULL); |