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:
eeb8cca
)
(m17n_object): Be sure to initialize all members.
author
handa
<handa>
Mon, 16 May 2005 13:02:10 +0000
(13:02 +0000)
committer
handa
<handa>
Mon, 16 May 2005 13:02:10 +0000
(13:02 +0000)
src/m17n-core.c
patch
|
blob
|
history
diff --git
a/src/m17n-core.c
b/src/m17n-core.c
index
10325d6
..
0761735
100644
(file)
--- 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;
}