mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 07:26:15 +01:00
contexts: Fix memory leak in test
https://bugzilla.gnome.org/show_bug.cgi?id=711802
This commit is contained in:
parent
438f7110f9
commit
faafd4c051
@ -2,7 +2,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user