From 2699d86b42c64fe7fb67406b3b367698da0d45a3 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 3 Oct 2014 09:54:24 +0200 Subject: [PATCH] timeshift: fix simple memory leak --- src/timeshift.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/timeshift.c b/src/timeshift.c index c96d80f6..c4bfa560 100644 --- a/src/timeshift.c +++ b/src/timeshift.c @@ -87,6 +87,8 @@ void timeshift_init ( void ) void timeshift_term ( void ) { timeshift_filemgr_term(); + free(timeshift_path); + timeshift_path = NULL; } /*