mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-08-02 12:16:21 +00:00
Fixed memory leak
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user