summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ac0af6c)
raw | patch | inline | side by side (parent: ac0af6c)
author | Florian Forster <octo@collectd.org> | |
Fri, 17 Nov 2017 14:26:13 +0000 (15:26 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Fri, 17 Nov 2017 14:26:13 +0000 (15:26 +0100) |
CID: 179240
src/utils_ovs.c | patch | blob | history |
diff --git a/src/utils_ovs.c b/src/utils_ovs.c
index 2087324721f484d4ed74ca8c98ec56dc9f11de41..63cb94c45f6245a2bdb11a6f06c9f3bb7ef47058 100644 (file)
--- a/src/utils_ovs.c
+++ b/src/utils_ovs.c
ovs_db_ret = (-1);
}
+ pthread_mutex_unlock(&pdb->mutex);
+
/* unsubscribe callbacks */
ovs_db_callback_remove_all(pdb);
close(pdb->sock);
/* release DB handler */
- pthread_mutex_unlock(&pdb->mutex);
pthread_mutex_destroy(&pdb->mutex);
sfree(pdb);
return ovs_db_ret;