Fix a memory leak in background task

This commit is contained in:
Douglas Clowes
2015-07-24 12:31:43 +10:00
parent d89851dc6a
commit 4f411f66ca

View File

@ -28,6 +28,7 @@ static void KillBckTask(void *data)
if (self->command) { if (self->command) {
free(self->command); free(self->command);
} }
free(self);
} }
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/