override: Fix leaks in test

https://bugzilla.gnome.org/show_bug.cgi?id=711779
This commit is contained in:
Stef Walter 2013-11-10 15:56:17 +01:00
parent e6de9c6940
commit 320f0b32de

View File

@ -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