X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fgps.c;h=ecb4bbaa69d0c7e09e9d3a482512a1951d951ed5;hp=210c29344c18e263e4ae1ddc4138f96b7d76da72;hb=8fd8f76dc11064e75e44448d16d35e09e46191a2;hpb=ce13502b2a127ec38f851422cb8b0ccf0da5e52a diff --git a/src/gps.c b/src/gps.c index 210c2934..ecb4bbaa 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);