summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6b91766)
raw | patch | inline | side by side (parent: 6b91766)
author | Florian Forster <octo@collectd.org> | |
Fri, 17 Nov 2017 14:15:32 +0000 (15:15 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Fri, 17 Nov 2017 14:15:32 +0000 (15:15 +0100) |
CID: 179241
src/gps.c | patch | blob | history |
diff --git a/src/gps.c b/src/gps.c
index a4b3e2e73e0d00bca199f63b34d694cdf50ad5d1..141c03216333e234785b42155cbd4ae1cc1136b7 100644 (file)
--- a/src/gps.c
+++ b/src/gps.c
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);