Quellcode durchsuchen

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 vor 10 Jahren
Ursprung
Commit
fd15603a12
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  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