Skip to content
Snippets Groups Projects
Commit 05da20fa authored by Ali Abdallah's avatar Ali Abdallah
Browse files

Use XSyncFreeSystemCounterList

parent 402a8ca6
No related branches found
No related tags found
No related merge requests found
...@@ -271,6 +271,8 @@ xfpm_idle_init (XfpmIdle *idle) ...@@ -271,6 +271,8 @@ xfpm_idle_init (XfpmIdle *idle)
idle->priv->idle_counter = counters[i].counter; idle->priv->idle_counter = counters[i].counter;
} }
XSyncFreeSystemCounterList (counters);
if ( !idle->priv->idle_counter ) if ( !idle->priv->idle_counter )
{ {
g_warning ("No idle counter."); g_warning ("No idle counter.");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment