[Xfce4-commits] [xfce/xfce4-power-manager] 01/01: Plug a memory leak (Bug #11538)
noreply at xfce.org
noreply at xfce.org
Wed Feb 18 17:31:19 CET 2015
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository xfce/xfce4-power-manager.
commit 18ead01edbc013abf620e3a9ea31eabcad1ae267
Author: Eric Koegel <eric.koegel at gmail.com>
Date: Mon Feb 16 19:13:27 2015 +0300
Plug a memory leak (Bug #11538)
---
panel-plugins/power-manager-plugin/power-manager-button.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/panel-plugins/power-manager-plugin/power-manager-button.c b/panel-plugins/power-manager-plugin/power-manager-button.c
index e02a780..7cfac03 100644
--- a/panel-plugins/power-manager-plugin/power-manager-button.c
+++ b/panel-plugins/power-manager-plugin/power-manager-button.c
@@ -486,6 +486,7 @@ battery_device_remove_pix (BatteryDevice *battery_device)
g_object_unref (battery_device->img);
battery_device->img = NULL;
}
+ g_object_unref (battery_device->pix);
battery_device->pix = NULL;
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list