celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bpe...@apache.org
Subject celix git commit: CELIX-272: minor fix
Date Thu, 19 Nov 2015 09:01:32 GMT
Repository: celix
Updated Branches:
  refs/heads/develop 11c53f9ca -> c7609e328


CELIX-272: minor fix


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/c7609e32
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/c7609e32
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/c7609e32

Branch: refs/heads/develop
Commit: c7609e32813a37574bfe4e028bbd8a3a41c4b5a6
Parents: 11c53f9
Author: Bjoern Petri <bpetri@apache.org>
Authored: Thu Nov 19 10:01:11 2015 +0100
Committer: Bjoern Petri <bpetri@apache.org>
Committed: Thu Nov 19 10:01:11 2015 +0100

----------------------------------------------------------------------
 framework/private/src/service_registry.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/c7609e32/framework/private/src/service_registry.c
----------------------------------------------------------------------
diff --git a/framework/private/src/service_registry.c b/framework/private/src/service_registry.c
index 715c957..d78da51 100644
--- a/framework/private/src/service_registry.c
+++ b/framework/private/src/service_registry.c
@@ -106,8 +106,8 @@ celix_status_t serviceRegistry_destroy(service_registry_pt registry) {
 
     //destroy listener hooks
     size = arrayList_size(registry->listenerHooks);
-    if (size == 0);
-    arrayList_destroy(registry->listenerHooks);
+    if (size == 0)
+    	arrayList_destroy(registry->listenerHooks);
 
     hashMap_destroy(registry->deletedServiceReferences, false, false);
 


Mime
View raw message