X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fgps.c;h=141c03216333e234785b42155cbd4ae1cc1136b7;hb=4fdd7193481b638a059d6fa047542312e41ea45e;hp=a4b3e2e73e0d00bca199f63b34d694cdf50ad5d1;hpb=edcf39cc377d2de0744412209de4eeb50ca7ed5f;p=collectd.git 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);