mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Fixed memory leak
This commit is contained in:
parent
8ecd93049f
commit
47fd81d5b9
@ -74,7 +74,6 @@ status_bar_refresh(void)
|
|||||||
|
|
||||||
if (elapsed >= 60000000) {
|
if (elapsed >= 60000000) {
|
||||||
dirty = TRUE;
|
dirty = TRUE;
|
||||||
g_date_time_unref(now_time);
|
|
||||||
last_time = g_date_time_new_now_local();
|
last_time = g_date_time_new_now_local();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -84,6 +83,8 @@ status_bar_refresh(void)
|
|||||||
inp_put_back();
|
inp_put_back();
|
||||||
dirty = FALSE;
|
dirty = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_date_time_unref(now_time);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user