You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by bp...@apache.org on 2015/11/18 14:02:39 UTC
celix git commit: CELIX-272: prevent destroy of locked lock
Repository: celix
Updated Branches:
refs/heads/develop fdeee30ee -> c1c2ac9f6
CELIX-272: prevent destroy of locked lock
Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/c1c2ac9f
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/c1c2ac9f
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/c1c2ac9f
Branch: refs/heads/develop
Commit: c1c2ac9f64eb4a35ee556362511fc07b9b00546e
Parents: fdeee30
Author: Bjoern Petri <bp...@apache.org>
Authored: Wed Nov 18 14:02:17 2015 +0100
Committer: Bjoern Petri <bp...@apache.org>
Committed: Wed Nov 18 14:02:17 2015 +0100
----------------------------------------------------------------------
framework/private/src/service_registration.c | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/celix/blob/c1c2ac9f/framework/private/src/service_registration.c
----------------------------------------------------------------------
diff --git a/framework/private/src/service_registration.c b/framework/private/src/service_registration.c
index d9c5752..7eed0bf 100644
--- a/framework/private/src/service_registration.c
+++ b/framework/private/src/service_registration.c
@@ -110,6 +110,7 @@ static celix_status_t serviceRegistration_destroy(service_registration_pt regist
registration->callback.unregister = NULL;
properties_destroy(registration->properties);
+ celixThreadRwlock_unlock(®istration->lock);
celixThreadRwlock_destroy(®istration->lock);
free(registration);