summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/egg-idletime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egg-idletime.c b/src/egg-idletime.c
index 486acd3..c3eb899 100644
--- a/src/egg-idletime.c
+++ b/src/egg-idletime.c
@@ -330,8 +330,8 @@ egg_idletime_alarm_free (EggIdletime *idletime, EggIdletimeAlarm *alarm)
if (alarm->xalarm)
XSyncDestroyAlarm (idletime->priv->dpy, alarm->xalarm);
g_object_unref (alarm->idletime);
- g_free (alarm);
g_ptr_array_remove (idletime->priv->array, alarm);
+ g_free (alarm);
return TRUE;
}