mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-23 17:38:54 +02:00
qdata: Fix leak in qdata unit tests
https://bugzilla.gnome.org/show_bug.cgi?id=627423
This commit is contained in:
@@ -104,6 +104,8 @@ test_qdata_dup (void)
|
|||||||
b = g_object_replace_qdata (object, quark, s, "s2", NULL, NULL);
|
b = g_object_replace_qdata (object, quark, s, "s2", NULL, NULL);
|
||||||
g_assert (b);
|
g_assert (b);
|
||||||
|
|
||||||
|
g_free (s);
|
||||||
|
|
||||||
g_object_unref (object);
|
g_object_unref (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user