Module Name:    src
Committed By:   jmcneill
Date:           Wed Jul 13 22:51:10 UTC 2011

Modified Files:
        src/sys/dev/dtv: dtv_device.c

Log Message:
add missing mutex_destroy on detach


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/dtv/dtv_device.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/dev/dtv/dtv_device.c
diff -u src/sys/dev/dtv/dtv_device.c:1.5 src/sys/dev/dtv/dtv_device.c:1.6
--- src/sys/dev/dtv/dtv_device.c:1.5	Wed Jul 13 22:43:04 2011
+++ src/sys/dev/dtv/dtv_device.c	Wed Jul 13 22:51:10 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: dtv_device.c,v 1.5 2011/07/13 22:43:04 jmcneill Exp $ */
+/* $NetBSD: dtv_device.c,v 1.6 2011/07/13 22:51:10 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2011 Jared D. McNeill <jmcne...@invisible.ca>
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dtv_device.c,v 1.5 2011/07/13 22:43:04 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dtv_device.c,v 1.6 2011/07/13 22:51:10 jmcneill Exp $");
 
 #include <sys/types.h>
 #include <sys/conf.h>
@@ -154,6 +154,7 @@
 	dtv_scatter_buf_destroy(&ds->ds_data);
 
 	mutex_destroy(&sc->sc_demux_lock);
+	mutex_destroy(&sc->sc_lock);
 
 	return 0;
 }

Reply via email to