Skip to content
  • Christian Persch's avatar
    Plug a mem leak in data-input-stream test · 91e38035
    Christian Persch authored and Matthias Clasen's avatar Matthias Clasen committed
    ==2415== 165 (72 direct, 93 indirect) bytes in 3 blocks are definitely lost in loss record 373 of 399
    ==2415==    at 0x4005BDC: malloc (vg_replace_malloc.c:195)
    ==2415==    by 0x4057094: g_malloc (gmem.c:134)
    ==2415==    by 0x406F2D6: g_slice_alloc (gslice.c:836)
    ==2415==    by 0x406F31B: g_slice_alloc0 (gslice.c:848)
    ==2415==    by 0x403A8A6: g_error_new_literal (gerror.c:117)
    ==2415==    by 0x403AC31: g_set_error_literal (gerror.c:314)
    ==2415==    by 0x417ED29: read_data (gdatainputstream.c:309)
    ==2415==    by 0x417EE9D: g_data_input_stream_read_byte (gdatainputstream.c:344)
    ==2415==    by 0x8049DEC: test_data_array (data-input-stream.c:263)
    
    Bug #628331.
    91e38035