[gnome-control-center/gnome-3-8] info: Fix small memory leak



commit 779f50f4907622621f93cf700402b1fbe9202bd6
Author: Tim Lunn <tim feathertop org>
Date:   Thu Apr 11 11:21:30 2013 +1000

    info: Fix small memory leak

 panels/info/cc-info-panel.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c
index e7de50a..c0cc5a0 100644
--- a/panels/info/cc-info-panel.c
+++ b/panels/info/cc-info-panel.c
@@ -416,6 +416,7 @@ get_graphics_data_xorg_vesa_hardware (void)
       result = g_strdup_printf ("VESA: %s", pretty_tmp);
       g_free (pretty_tmp);
     }
+  g_free (log_contents);
   g_match_info_free (match);
   g_regex_unref (re);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]