diff --git a/src/capmt.c b/src/capmt.c index 341abce5..16a774cc 100644 --- a/src/capmt.c +++ b/src/capmt.c @@ -665,6 +665,9 @@ capmt_thread(void *aux) pthread_mutex_unlock(&global_lock); } + free(capmt->capmt_id); + free(capmt); + return NULL; }