Module Name:    src
Committed By:   jmcneill
Date:           Sun Nov 20 16:07:27 UTC 2011

Modified Files:
        src/sys/arch/sgimips/mace [jmcneill-audiomp3]: mavb.c

Log Message:
fix size passed to kmem_free in stream filter dtor


To generate a diff of this commit:
cvs rdiff -u -r1.7.4.1 -r1.7.4.2 src/sys/arch/sgimips/mace/mavb.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/arch/sgimips/mace/mavb.c
diff -u src/sys/arch/sgimips/mace/mavb.c:1.7.4.1 src/sys/arch/sgimips/mace/mavb.c:1.7.4.2
--- src/sys/arch/sgimips/mace/mavb.c:1.7.4.1	Sun Nov 20 12:27:21 2011
+++ src/sys/arch/sgimips/mace/mavb.c	Sun Nov 20 16:07:27 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: mavb.c,v 1.7.4.1 2011/11/20 12:27:21 jmcneill Exp $ */
+/* $NetBSD: mavb.c,v 1.7.4.2 2011/11/20 16:07:27 jmcneill Exp $ */
 /* $OpenBSD: mavb.c,v 1.6 2005/04/15 13:05:14 mickey Exp $ */
 
 /*
@@ -235,7 +235,7 @@ mavb_dtor(stream_filter_t *this)
 {
 
 	if (this != NULL)
-		kmem_free(this, sizeof(*this));
+		kmem_free(this, sizeof(struct mavb_codecvar));
 }
 
 typedef uint64_t ad1843_addr_t;

Reply via email to