qdata: Fix leak in qdata unit tests

https://bugzilla.gnome.org/show_bug.cgi?id=627423
This commit is contained in:
Stef Walter 2013-10-31 23:06:27 +01:00
parent 2672228733
commit b49344c1d3

View File

@ -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);
}