From 4f411f66ca1965d96918561660d2c362097bf60c Mon Sep 17 00:00:00 2001 From: Douglas Clowes Date: Fri, 24 Jul 2015 12:31:43 +1000 Subject: [PATCH] Fix a memory leak in background task --- background.c | 1 + 1 file changed, 1 insertion(+) diff --git a/background.c b/background.c index 6adac099..0bc06243 100644 --- a/background.c +++ b/background.c @@ -28,6 +28,7 @@ static void KillBckTask(void *data) if (self->command) { free(self->command); } + free(self); } /*---------------------------------------------------------------------------*/