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:
e6de9c6
)
override: Fix leaks in test
author
Stef Walter
<stefw@gnome.org>
Sun, 10 Nov 2013 14:56:17 +0000
(15:56 +0100)
committer
Stef Walter
<stefw@gnome.org>
Mon, 11 Nov 2013 06:26:37 +0000
(07:26 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=711779
tests/gobject/override.c
patch
|
blob
|
history
diff --git
a/tests/gobject/override.c
b/tests/gobject/override.c
index
95b4023
..
47702d7
100644
(file)
--- a/
tests/gobject/override.c
+++ b/
tests/gobject/override.c
@@
-374,6
+374,8
@@
test (GType type,
if (strcmp (ret, expected_retval) != 0)
failed = TRUE;
+
+ g_free (ret);
}
#ifndef VERBOSE
@@
-392,6
+394,7
@@
test (GType type,
}
g_string_free (test_string, TRUE);
+ g_object_unref (self);
}
int