mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-21 17:52:11 +01:00
Merge branch 'callable-info-test-leak' into 'main'
tests: Fix a memory leak if a callable-info test is skipped See merge request GNOME/glib!4483
This commit is contained in:
commit
589c8295ea
@ -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