[gnome-control-center] wacom: Fix memory leak
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] wacom: Fix memory leak
- Date: Fri, 26 Aug 2011 10:36:04 +0000 (UTC)
commit ae35bd1e0863b384f34c1ec8c0fe34096a835e5b
Author: Bastien Nocera <hadess hadess net>
Date: Fri Aug 26 10:42:09 2011 +0100
wacom: Fix memory leak
panels/wacom/cc-wacom-panel.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/wacom/cc-wacom-panel.c b/panels/wacom/cc-wacom-panel.c
index 5d0478c..a329554 100644
--- a/panels/wacom/cc-wacom-panel.c
+++ b/panels/wacom/cc-wacom-panel.c
@@ -414,6 +414,7 @@ cc_wacom_panel_init (CcWacomPanel *self)
{
g_warning ("Error loading UI file: %s", error->message);
g_object_unref (priv->builder);
+ g_error_free (error);
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]