From c03e6b74fa7b0797d2d2333a325997bc792fefd9 Mon Sep 17 00:00:00 2001 From: PolynomialDivision Date: Mon, 24 Jul 2017 18:51:49 +0200 Subject: [PATCH] Free mutexes --- src/main.c | 3 +++ 1 file changed, 3 insertions(+) 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;