From eba27a7e0562067ba442374d7ffcc8cb3f6cdb21 Mon Sep 17 00:00:00 2001 From: Pavel Vasin Date: Sat, 14 Sep 2013 16:21:25 +0400 Subject: [PATCH] MonitorConfig: fix memory leak https://bugzilla.gnome.org/show_bug.cgi?id=708070 --- src/core/monitor-config.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/monitor-config.c b/src/core/monitor-config.c index 41602abfd..f07b93eee 100644 --- a/src/core/monitor-config.c +++ b/src/core/monitor-config.c @@ -749,6 +749,9 @@ meta_monitor_config_load (MetaMonitorConfig *self) free_output_key (&parser.key); } + + g_markup_parse_context_free (context); + g_free (contents); } MetaMonitorConfig *