]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
isc_mutex_destroy() returns a value
authorFrancis Dupont <fdupont@isc.org>
Mon, 14 Mar 2011 13:40:14 +0000 (13:40 +0000)
committerFrancis Dupont <fdupont@isc.org>
Mon, 14 Mar 2011 13:40:14 +0000 (13:40 +0000)
lib/dns/sdb.c

index a8adbbfb03053c625c387f812744eb01aada769b..985e53eb46e7b4221f291a577e1bd09a3e8c7a76 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: sdb.c,v 1.76 2011/01/13 04:59:25 tbox Exp $ */
+/* $Id: sdb.c,v 1.76.8.1 2011/03/14 13:40:14 fdupont Exp $ */
 
 /*! \file */
 
@@ -1334,7 +1334,7 @@ dns_sdb_create(isc_mem_t *mctx, dns_name_t *origin, dns_dbtype_t type,
  cleanup_origin:
        dns_name_free(&sdb->common.origin, mctx);
  cleanup_lock:
-       isc_mutex_destroy(&sdb->lock);
+       (void)isc_mutex_destroy(&sdb->lock);
  cleanup_mctx:
        isc_mem_put(mctx, sdb, sizeof(dns_sdb_t));
        isc_mem_detach(&mctx);