From 76ebe6c069b7fb1d09e6b95172185b325a3bb28e Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sat, 24 May 2008 20:51:07 +0200 Subject: [PATCH] Plug a mem leak Bug #583196. --- glib/tests/keyfile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/glib/tests/keyfile.c b/glib/tests/keyfile.c index ba8cd1e61..dfc7d2549 100644 --- a/glib/tests/keyfile.c +++ b/glib/tests/keyfile.c @@ -1090,6 +1090,7 @@ test_key_names (void) g_key_file_set_string (keyfile, "a", "key\tfoo", "123"); value = g_key_file_get_string (keyfile, "a", "key\tfoo", &error); check_no_error (&error); + g_free (value); g_key_file_free (keyfile); keyfile = g_key_file_new ();