use g_mem_chunk_alloc0() to allocate the memchunk, so the correct size of
authorTim Janik <timj@gtk.org>
Sat, 5 Sep 1998 06:53:43 +0000 (06:53 +0000)
committerTim Janik <timj@src.gnome.org>
Sat, 5 Sep 1998 06:53:43 +0000 (06:53 +0000)
commit1c3646f597009f2c7218cded888e7b6b0c5f3146
tree9bf79ca86cfcaa7e17a7a98ecac0b379c4c2d300
parentfa5837928955e315488d15fa51c9b79372ebf450
use g_mem_chunk_alloc0() to allocate the memchunk, so the correct size of

Sat Sep  5 04:40:02 1998  Tim Janik  <timj@gtk.org>

        * glib.h:
        (g_chunk_new0): use g_mem_chunk_alloc0() to allocate the memchunk,
        so the correct size of the memchunk is allocated with 0's and not
        a memory portion of the size of the desired type.

        * gmem.c: new function g_mem_chunk_alloc0() which will initialize
        a memory area allocated with g_mem_chunk_alloc() with 0's.
12 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib.h
glib/glib.h
glib/gmem.c
gmem.c