changeset 3505:7d865b5f5a04 trunk

Oops, previous merge had removed an important memset(), fixed.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 08 Sep 2007 20:58:26 +0300
parents 04ecdd1b0e12
children 65502ec17b75
files src/audacious/tuple.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/tuple.c	Sat Sep 08 17:27:58 2007 +0300
+++ b/src/audacious/tuple.c	Sat Sep 08 20:58:26 2007 +0300
@@ -119,6 +119,7 @@
     /* FIXME: use mowgli_object_bless_from_class() in mowgli 0.4
        when it is released --nenolod */
     tuple = mowgli_heap_alloc(tuple_heap);
+    memset(tuple, 0, sizeof(Tuple));
     mowgli_object_init(mowgli_object(tuple), NULL, &tuple_klass, NULL);
 
     tuple->dict = mowgli_dictionary_create(g_ascii_strcasecmp);