From cd2d763b943e041291fdf003b098848efb40492b Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 16 May 2005 13:02:10 +0000 Subject: [PATCH] (m17n_object): Be sure to initialize all members. --- src/m17n-core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/m17n-core.c b/src/m17n-core.c index 10325d6..0761735 100644 --- a/src/m17n-core.c +++ b/src/m17n-core.c @@ -714,6 +714,8 @@ m17n_object (int size, void (*freer) (void *)) M17NObject *obj = malloc (size); obj->ref_count = 1; + obj->ref_count_extended = 0; + obj->flag = 0; obj->u.freer = freer; return obj; } -- 1.7.10.4