- Fix memory leak - After cwc_running is set to 0 in capmt_destroy, capmt and capmt->id was not free'd
This commit is contained in:
parent
edd4816065
commit
19b39e4159
1 changed files with 3 additions and 0 deletions
|
@ -665,6 +665,9 @@ capmt_thread(void *aux)
|
|||
pthread_mutex_unlock(&global_lock);
|
||||
}
|
||||
|
||||
free(capmt->capmt_id);
|
||||
free(capmt);
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue