diff options
author | Stef Walter <stefw@gnome.org> | 2013-11-10 15:56:17 +0100 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2013-11-11 07:26:37 +0100 |
commit | 320f0b32de8458c05793733991e05497d1b5c782 (patch) | |
tree | 25d215c5b81b37778a46ea04df5c90412d99a3a8 /tests/gobject | |
parent | e6de9c6940cc123e9f843e3069f73a75a887487f (diff) | |
download | glib-320f0b32de8458c05793733991e05497d1b5c782.tar.gz |
override: Fix leaks in test
https://bugzilla.gnome.org/show_bug.cgi?id=711779
Diffstat (limited to 'tests/gobject')
-rw-r--r-- | tests/gobject/override.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/gobject/override.c b/tests/gobject/override.c index 95b40239f..47702d709 100644 --- 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 |