mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-23 08:00:04 +01:00
tests: Fix a memory leak if a callable-info test is skipped
Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
parent
ba60ea7aa0
commit
a127f9b7d2
@ -199,6 +199,7 @@ test_callable_info_static_vfunc (RepositoryFixture *fx,
|
||||
if (!vfunc_info)
|
||||
{
|
||||
g_test_skip ("g-ir-scanner is not new enough");
|
||||
gi_base_info_unref (info);
|
||||
return;
|
||||
}
|
||||
g_assert_nonnull (vfunc_info);
|
||||
|
Loading…
x
Reference in New Issue
Block a user