diff --git a/src/main.c b/src/main.c index 1581c70..a1d1b39 100644 --- a/src/main.c +++ b/src/main.c @@ -78,6 +78,9 @@ int main(int argc, char **argv) { // free ressources pthread_mutex_destroy(&list_mutex); + pthread_mutex_destroy(&probe_array_mutex); + pthread_mutex_destroy(&client_array_mutex); + free_list(probe_list_head); return 0;