various GLib tests: plug memory leaks

These don't really matter, since it's test code, but they do obscure
real leaks in the library.

Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666115
Acked-by: Matthias Clasen <mclasen@redhat.com>
This commit is contained in:
Simon McVittie
2011-12-13 19:01:42 +00:00
parent a0f5e89aed
commit 29f2ced8eb
26 changed files with 137 additions and 20 deletions

View File

@@ -25,6 +25,7 @@ test_param_value (void)
g_param_spec_unref (p2);
g_value_unset (&value);
g_param_spec_unref (pp);
}
static gint destroy_count;