Plug a huge mem leak in data-output-stream test

==12763== 16,777,215 bytes in 1 blocks are possibly lost in loss record 357 of 357
==12763==    at 0x4004F1B: calloc (vg_replace_malloc.c:418)
==12763==    by 0x405711D: g_malloc0 (gmem.c:157)
==12763==    by 0x8048ED6: test_basic (data-output-stream.c:40)

Bug #628331.
This commit is contained in:
Christian Persch 2010-09-03 15:55:10 -04:00 committed by Matthias Clasen
parent 05d6fcf88c
commit e8bdd2cb7a

View File

@ -50,6 +50,7 @@ test_basic (void)
g_object_unref (stream);
g_object_unref (base_stream);
g_free (data);
}
static void