From 41c1d6449116555915fa8fd8af7b904ccf461555 Mon Sep 17 00:00:00 2001 From: handa Date: Thu, 17 Feb 2005 07:44:46 +0000 Subject: [PATCH] (M17N_OBJECT_UNREF): When freeed, set OBJECT to NULL. --- src/internal.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/internal.h b/src/internal.h index 53eef54..3354e29 100644 --- a/src/internal.h +++ b/src/internal.h @@ -333,6 +333,7 @@ typedef struct (((M17NObject *) (object))->u.freer) (object); \ else \ free (object); \ + (object) = NULL; \ } \ } \ } while (0) -- 1.7.10.4