[glib] Plug a huge mem leak in data-output-stream test
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Plug a huge mem leak in data-output-stream test
- Date: Fri, 3 Sep 2010 20:19:27 +0000 (UTC)
commit e8bdd2cb7af29ca20a02f4ebef1c6301e22d1856
Author: Christian Persch <chpe gnome org>
Date: Fri Sep 3 15:55:10 2010 -0400
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 files changed, 1 insertions(+), 0 deletions(-)
---
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]