[gnome-control-center] wacom: Fix memory leak



commit f6fa0ee689f5e0a0dece132bcce8ad1b230d885a
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jan 11 18:56:09 2012 +0000

    wacom: Fix memory leak

 panels/wacom/calibrator/gui_gtk.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/panels/wacom/calibrator/gui_gtk.c b/panels/wacom/calibrator/gui_gtk.c
index 79e6754..8c8b558 100644
--- a/panels/wacom/calibrator/gui_gtk.c
+++ b/panels/wacom/calibrator/gui_gtk.c
@@ -399,6 +399,8 @@ run_gui(struct Calib *c,
 
     success = finish(calib_area->calibrator, calib_area->display_width, calib_area->display_height, new_axis, swap);
 
+    g_free (calib_area);
+
     g_debug ("Final calibration: %d, %d, %d, %d\n",
 	     new_axis->x_min,
 	     new_axis->y_min,



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