Skip to content
  • Tim Janik's avatar
    use g_mem_chunk_alloc0() to allocate the memchunk, so the correct size of · 1c3646f5
    Tim Janik authored
    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.
    1c3646f5
To find the state of this project's repository at the time of any of these versions, check out the tags.