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:
parent
3691dd33f4
commit
54356d4ccb
|
@ -3817,6 +3817,9 @@ main(int argc, char *argv[])
|
||||||
log_flags,
|
log_flags,
|
||||||
console_log_handler, NULL /* user_data */);
|
console_log_handler, NULL /* user_data */);
|
||||||
|
|
||||||
|
/* Initialize the pcaps list */
|
||||||
|
global_ld.pcaps = NULL;
|
||||||
|
|
||||||
/* Initialize the thread system */
|
/* Initialize the thread system */
|
||||||
if (!g_thread_supported())
|
if (!g_thread_supported())
|
||||||
g_thread_init(NULL);
|
g_thread_init(NULL);
|
||||||
|
|
Loading…
Reference in New Issue