Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern don't forget to destroy a cv
details: https://anonhg.NetBSD.org/src/rev/1549943a4a80
branches: trunk
changeset: 347611:1549943a4a80
user: christos <christos%NetBSD.org@localhost>
date: Mon Sep 05 14:13:50 2016 +0000
description:
don't forget to destroy a cv
diffstat:
sys/kern/sysv_msg.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 5226972f717b -r 1549943a4a80 sys/kern/sysv_msg.c
--- a/sys/kern/sysv_msg.c Mon Sep 05 10:44:36 2016 +0000
+++ b/sys/kern/sysv_msg.c Mon Sep 05 14:13:50 2016 +0000
@@ -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 @@
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);
Home |
Main Index |
Thread Index |
Old Index