From faafd4c051febb545838be9b663eabe5f3df254f Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Fri, 8 Nov 2013 14:28:23 +0100 Subject: [PATCH] contexts: Fix memory leak in test https://bugzilla.gnome.org/show_bug.cgi?id=711802 --- gio/tests/contexts.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gio/tests/contexts.c b/gio/tests/contexts.c index f28049509..60b3d1f10 100644 --- a/gio/tests/contexts.c +++ b/gio/tests/contexts.c @@ -2,7 +2,7 @@ #include #include -static const gchar *test_file; +static gchar *test_file; char *test_file_buffer; gsize test_file_size; @@ -199,6 +199,7 @@ main (int argc, char **argv) ret = g_test_run(); g_free (test_file_buffer); + g_free (test_file); return ret; }