Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/jmcneill-audiomp3]: src/sys/arch/sgimips/mace fix size passed to kmem_fr...



details:   https://anonhg.NetBSD.org/src/rev/9b1d9915e8d4
branches:  jmcneill-audiomp3
changeset: 771370:9b1d9915e8d4
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Nov 20 16:07:27 2011 +0000

description:
fix size passed to kmem_free in stream filter dtor

diffstat:

 sys/arch/sgimips/mace/mavb.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 4523629d85fe -r 9b1d9915e8d4 sys/arch/sgimips/mace/mavb.c
--- a/sys/arch/sgimips/mace/mavb.c      Sun Nov 20 15:49:16 2011 +0000
+++ b/sys/arch/sgimips/mace/mavb.c      Sun Nov 20 16:07:27 2011 +0000
@@ -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 @@
 {
 
        if (this != NULL)
-               kmem_free(this, sizeof(*this));
+               kmem_free(this, sizeof(struct mavb_codecvar));
 }
 
 typedef uint64_t ad1843_addr_t;



Home | Main Index | Thread Index | Old Index