projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
670fa22
)
(M17N_OBJECT_UNREF): When freeed, set OBJECT to NULL.
author
handa
<handa>
Thu, 17 Feb 2005 07:44:46 +0000
(07:44 +0000)
committer
handa
<handa>
Thu, 17 Feb 2005 07:44:46 +0000
(07:44 +0000)
src/internal.h
patch
|
blob
|
history
diff --git
a/src/internal.h
b/src/internal.h
index
53eef54
..
3354e29
100644
(file)
--- 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)