From e8bdd2cb7af29ca20a02f4ebef1c6301e22d1856 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Fri, 3 Sep 2010 15:55:10 -0400 Subject: [PATCH] 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. --- gio/tests/data-output-stream.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gio/tests/data-output-stream.c b/gio/tests/data-output-stream.c index 887f461..a97201e 100644 --- a/gio/tests/data-output-stream.c +++ b/gio/tests/data-output-stream.c @@ -50,6 +50,7 @@ test_basic (void) g_object_unref (stream); g_object_unref (base_stream); + g_free (data); } static void -- 2.7.4