Plug a mem leak in buffered-input-stream test
authorChristian Persch <chpe@gnome.org>
Fri, 3 Sep 2010 19:57:26 +0000 (15:57 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 3 Sep 2010 19:57:26 +0000 (15:57 -0400)
commite4a6b1dcdc9bbe0b5d06228a662d8f3d0ce50e9c
treee3291a11b5d20b5a0adf5ac7e961d917e195bc97
parent01a19dee6855d3caede22ef8dc28606ee89cf60e
Plug a mem leak in buffered-input-stream test

==2429== 49 (24 direct, 25 indirect) bytes in 1 blocks are definitely lost in loss record 276 of 355
==2429==    at 0x4005BDC: malloc (vg_replace_malloc.c:195)
==2429==    by 0x4057094: g_malloc (gmem.c:134)
==2429==    by 0x406F2D6: g_slice_alloc (gslice.c:836)
==2429==    by 0x406F31B: g_slice_alloc0 (gslice.c:848)
==2429==    by 0x403A8A6: g_error_new_literal (gerror.c:117)
==2429==    by 0x403AC31: g_set_error_literal (gerror.c:314)
==2429==    by 0x4175525: g_buffered_input_stream_read_byte (gbufferedinputstream.c:880)
==2429==    by 0x804A21A: test_read_byte (buffered-input-stream.c:153)

Bug #628331.
gio/tests/buffered-input-stream.c