Fix a memory leak in background task
This commit is contained in:
1 parent
d89851dc6a
commit
4f411f66ca
1 file changed
+1
@@ -28,6 +28,7 @@ static void KillBckTask(void *data)
|
||||
if (self->command) {
|
||||
free(self->command);
|
||||
}
|
||||
free(self);
|
||||
}
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
Reference in new issue
Block a user