[Xfce4-commits] <xfce4-power-manager:master> Fix memory leak.
Nick Schermer
noreply at xfce.org
Fri Apr 20 14:32:05 CEST 2012
Updating branch refs/heads/master
to 07d129732643a63bedabd93c24e361f52ceceb46 (commit)
from a46fbaf8c4a4c7e958d8a289dea36b9ae359e044 (commit)
commit 07d129732643a63bedabd93c24e361f52ceceb46
Author: Nick Schermer <nick at xfce.org>
Date: Fri Apr 20 14:31:34 2012 +0200
Fix memory leak.
src/xfpm-power-info.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/xfpm-power-info.c b/src/xfpm-power-info.c
index 3ff7ed1..e365da9 100644
--- a/src/xfpm-power-info.c
+++ b/src/xfpm-power-info.c
@@ -886,6 +886,7 @@ xfpm_info_connect (XfpmInfo *info)
if ( error )
{
g_error ("Cannot connect to system bus : %s", error->message);
+ g_error_free (error);
}
}
More information about the Xfce4-commits
mailing list