浏览代码

Ticket 48036 - ns_set_shutdown should call ns_job_done

Description:  We should free the job that calls ns_set_shutdown()

https://fedorahosted.org/389/ticket/48036

Reviwed by: rmeggins(Thanks!)
Mark Reynolds 10 年之前
父节点
当前提交
fd15603a12
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      ldap/servers/slapd/daemon.c

+ 1 - 0
ldap/servers/slapd/daemon.c

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