• Christian Persch's avatar
    Plug a mem leak in readwrite test · 31b15451
    Christian Persch authored
    ==10395== 80 (24 direct, 56 indirect) bytes in 1 blocks are definitely lost in loss record 529 of 561
    ==10395==    at 0x4005BDC: malloc (vg_replace_malloc.c:195)
    ==10395==    by 0x4057094: g_malloc (gmem.c:134)
    ==10395==    by 0x406F2D6: g_slice_alloc (gslice.c:836)
    ==10395==    by 0x406F31B: g_slice_alloc0 (gslice.c:848)
    ==10395==    by 0x403A751: g_error_new_valist (gerror.c:54)
    ==10395==    by 0x403AAD4: g_set_error (gerror.c:240)
    ==10395==    by 0x4230328: _g_local_file_output_stream_create (glocalfileoutputstream.c:628)
    ==10395==    by 0x4227A04: g_local_file_create_readwrite (glocalfile.c:1388)
    ==10395==    by 0x418974C: g_file_create_readwrite (gfile.c:1784)
    ==10395==    by 0x8049FCD: test_g_file_create_readwrite (readwrite.c:187)
    
    Bug #628331.
    31b15451
readwrite.c 7.38 KB