Plug a mem leak

Bug #583196.
This commit is contained in:
Christian Persch 2008-05-24 20:51:07 +02:00
parent fc9a888b8c
commit 76ebe6c069

View File

@ -1090,6 +1090,7 @@ test_key_names (void)
g_key_file_set_string (keyfile, "a", "key\tfoo", "123"); g_key_file_set_string (keyfile, "a", "key\tfoo", "123");
value = g_key_file_get_string (keyfile, "a", "key\tfoo", &error); value = g_key_file_get_string (keyfile, "a", "key\tfoo", &error);
check_no_error (&error); check_no_error (&error);
g_free (value);
g_key_file_free (keyfile); g_key_file_free (keyfile);
keyfile = g_key_file_new (); keyfile = g_key_file_new ();