Module Name:    src
Committed By:   christos
Date:           Mon Sep  5 14:13:50 UTC 2016

Modified Files:
        src/sys/kern: sysv_msg.c

Log Message:
don't forget to destroy a cv


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 src/sys/kern/sysv_msg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/sysv_msg.c
diff -u src/sys/kern/sysv_msg.c:1.70 src/sys/kern/sysv_msg.c:1.71
--- src/sys/kern/sysv_msg.c:1.70	Thu Nov  5 21:26:42 2015
+++ src/sys/kern/sysv_msg.c	Mon Sep  5 10:13:50 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: sysv_msg.c,v 1.70 2015/11/06 02:26:42 pgoyette Exp $	*/
+/*	$NetBSD: sysv_msg.c,v 1.71 2016/09/05 14:13:50 christos Exp $	*/
 
 /*-
  * Copyright (c) 1999, 2006, 2007 The NetBSD Foundation, Inc.
@@ -50,7 +50,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sysv_msg.c,v 1.70 2015/11/06 02:26:42 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sysv_msg.c,v 1.71 2016/09/05 14:13:50 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_sysv.h"
@@ -195,6 +195,7 @@ msgfini(void)
 	sz = round_page(sz);
 	uvm_km_free(kernel_map, v, sz, UVM_KMF_WIRED);
 
+	cv_destroy(&msg_realloc_cv);
 	mutex_exit(&msgmutex);
 	mutex_destroy(&msgmutex);
 

Reply via email to