From 4962291342f14fecbc6bb0240bd8ec7c76e2fc64 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Fri, 17 Nov 2017 15:15:32 +0100 Subject: [PATCH] gps plugin: Fix double unlock. CID: 179241 --- src/gps.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gps.c b/src/gps.c index a4b3e2e7..141c0321 100644 --- a/src/gps.c +++ b/src/gps.c @@ -307,7 +307,6 @@ static int cgps_shutdown(void) { free(res); // Clean mutex: - pthread_mutex_unlock(&cgps_thread_lock); pthread_mutex_destroy(&cgps_thread_lock); pthread_mutex_unlock(&cgps_data_lock); pthread_mutex_destroy(&cgps_data_lock); -- 2.30.2