projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05d6fcf
)
Plug a huge mem leak in data-output-stream test
author
Christian Persch
<chpe@gnome.org>
Fri, 3 Sep 2010 19:55:10 +0000
(15:55 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 3 Sep 2010 19:55:10 +0000
(15:55 -0400)
==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
patch
|
blob
|
history
diff --git
a/gio/tests/data-output-stream.c
b/gio/tests/data-output-stream.c
index
887f461
..
a97201e
100644
(file)
--- 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