Fix a memory leak in background task
This commit is contained in:
@ -28,6 +28,7 @@ static void KillBckTask(void *data)
|
|||||||
if (self->command) {
|
if (self->command) {
|
||||||
free(self->command);
|
free(self->command);
|
||||||
}
|
}
|
||||||
|
free(self);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
|
Reference in New Issue
Block a user