1
0
Эх сурвалжийг харах

Bug 700557 - Leak at shutdown in DNA plug-in

The previous commit for bug 700557 has a leak in the DNA plug-in
when the plug-in has already had it's close() call called during
shutdown.  This frees the leaked Slapi_DN.
Nathan Kinder 14 жил өмнө
parent
commit
c74a13d7c4

+ 1 - 2
ldap/servers/plugins/dna/dna.c

@@ -3316,8 +3316,7 @@ dna_release_range(char *range_dn, PRUint64 *lower, PRUint64 *upper)
 
         /* Bail out if the plug-in close function was just called. */
         if (!g_plugin_started) {
-            dna_unlock();
-            return 0;
+            goto bail;
         }
 
         /* Go through the config entries to see if we