]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
missing unlock
authorMark Andrews <marka@isc.org>
Wed, 7 Feb 2007 05:42:43 +0000 (05:42 +0000)
committerMark Andrews <marka@isc.org>
Wed, 7 Feb 2007 05:42:43 +0000 (05:42 +0000)
lib/dns/dispatch.c

index 5e87f56cc06e8eaf0c4eeafca3ce7c418892a784..3b6bfbfe6c1f0a6fe0482f626e781bf273b3eb0a 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dispatch.c,v 1.101.2.14 2006/01/06 00:01:41 marka Exp $ */
+/* $Id: dispatch.c,v 1.101.2.15 2007/02/07 05:42:43 marka Exp $ */
 
 #include <config.h>
 
@@ -1203,6 +1203,7 @@ dns_dispatchmgr_setudp(dns_dispatchmgr_t *mgr,
 
        if (isc_mempool_create(mgr->mctx, buffersize,
                               &mgr->bpool) != ISC_R_SUCCESS) {
+               UNLOCK(&mgr->buffer_lock);
                return (ISC_R_NOMEMORY);
        }