Initialize global_ld.pcaps before we setup signal handlers, which

uses this list to cleanup.

svn path=/trunk/; revision=37425
This commit is contained in:
Stig Bjørlykke 2011-05-27 06:52:32 +00:00
parent 3691dd33f4
commit 54356d4ccb
1 changed files with 3 additions and 0 deletions

View File

@ -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);