diff options
Diffstat (limited to 'src/gsr-replay-page.c')
| -rw-r--r-- | src/gsr-replay-page.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gsr-replay-page.c b/src/gsr-replay-page.c index 67c7c9a..4dcbc81 100644 --- a/src/gsr-replay-page.c +++ b/src/gsr-replay-page.c @@ -490,6 +490,12 @@ static void gsr_replay_page_finalize(GObject *object) { GsrReplayPage *self = GSR_REPLAY_PAGE(object); + + if (self->timer_source_id) { + g_source_remove(self->timer_source_id); + self->timer_source_id = 0; + } + g_free(self->save_directory); #ifdef HAVE_X11 g_free(self->x11_start_stop_accel); |
