Tried to release resources from child thread

This commit is contained in:
john 2019-12-04 11:54:19 -05:00
parent c4da76c85e
commit b32370b213

5
pdns.c
View File

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