[Xfce4-commits] <xfce4-power-manager:master> Use XSyncFreeSystemCounterList
Ali Abdallah
noreply at xfce.org
Tue Oct 6 09:30:01 CEST 2009
Updating branch refs/heads/master
to 05da20fa24fd8e0872940b94ff7fe26db1429512 (commit)
from 402a8ca6388b5ec24e434e0354942be5e37caf45 (commit)
commit 05da20fa24fd8e0872940b94ff7fe26db1429512
Author: Ali Abdallah <ali at ali-xfce.org>
Date: Tue Oct 6 09:28:16 2009 +0000
Use XSyncFreeSystemCounterList
src/xfpm-idle.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/xfpm-idle.c b/src/xfpm-idle.c
index be25657..5eeb917 100644
--- a/src/xfpm-idle.c
+++ b/src/xfpm-idle.c
@@ -271,6 +271,8 @@ xfpm_idle_init (XfpmIdle *idle)
idle->priv->idle_counter = counters[i].counter;
}
+ XSyncFreeSystemCounterList (counters);
+
if ( !idle->priv->idle_counter )
{
g_warning ("No idle counter.");
More information about the Xfce4-commits
mailing list