diff options
Diffstat (limited to 'src/egg-idletime.c')
-rw-r--r-- | src/egg-idletime.c | 2 |
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; } |