mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
override: Fix leaks in test
https://bugzilla.gnome.org/show_bug.cgi?id=711779
This commit is contained in:
parent
e6de9c6940
commit
320f0b32de
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user