Description: We should free the job that calls ns_set_shutdown() https://fedorahosted.org/389/ticket/48036 Reviwed by: rmeggins(Thanks!)
@@ -3492,6 +3492,7 @@ ns_set_shutdown(struct ns_job_t *job)
/* Signal all the worker threads to stop */
ns_thrpool_shutdown(ns_job_get_tp(job));
+ ns_job_done(job)
}
#endif