mirror of https://github.com/jrbrtsn/ban2fail
Tried to release resources from child thread
This commit is contained in:
parent
c4da76c85e
commit
b32370b213
5
pdns.c
5
pdns.c
|
@ -367,6 +367,11 @@ eprintf("thread %u exiting at %f seconds", ndx, (double)ms/1000.);
|
|||
/* Let the main thread know we are ready to join */
|
||||
ES_VSignal(S.tid, ndx);
|
||||
|
||||
/* Free resources for this thread */
|
||||
// JDR Wed 04 Dec 2019 11:52:15 AM EST
|
||||
// This causes a double free() error, so let it leak for now.
|
||||
// ES_cleanup();
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue