diff options
Diffstat (limited to 'src/ui/core.c')
-rw-r--r-- | src/ui/core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/core.c b/src/ui/core.c index 84fcebfd..254af048 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -137,6 +137,9 @@ _ui_get_idle_time(void) XFree(info); return result; } + if (info != NULL) { + XFree(info); + } // if no libxss or xss idle time failed, use profanity idle time #endif gdouble seconds_elapsed = g_timer_elapsed(ui_idle_time, NULL); |