mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
qdata: Fix leak in qdata unit tests
https://bugzilla.gnome.org/show_bug.cgi?id=627423
This commit is contained in:
parent
2672228733
commit
b49344c1d3
@ -104,6 +104,8 @@ test_qdata_dup (void)
|
||||
b = g_object_replace_qdata (object, quark, s, "s2", NULL, NULL);
|
||||
g_assert (b);
|
||||
|
||||
g_free (s);
|
||||
|
||||
g_object_unref (object);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user