celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pnol...@apache.org
Subject [43/50] [abbrv] celix git commit: CELIX-237: In case of an empty descriptorFile, the proxy is not set but free'd
Date Tue, 13 Oct 2015 10:22:11 GMT
CELIX-237: In case of an empty descriptorFile, the proxy is not set but free'd


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

Branch: refs/heads/develop
Commit: f04a213b4faa6961a1b7b82e7a170f4f8b2b747a
Parents: 3f71ac4
Author: Bjoern Petri <bpetri@apache.org>
Authored: Mon Sep 28 16:56:06 2015 +0200
Committer: Bjoern Petri <bpetri@apache.org>
Committed: Mon Sep 28 16:56:06 2015 +0200

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


http://git-wip-us.apache.org/repos/asf/celix/blob/f04a213b/remote_services/remote_service_admin_dfi/rsa/private/src/import_registration_dfi.c
----------------------------------------------------------------------
diff --git a/remote_services/remote_service_admin_dfi/rsa/private/src/import_registration_dfi.c
b/remote_services/remote_service_admin_dfi/rsa/private/src/import_registration_dfi.c
index 680a75a..fbb958e 100644
--- a/remote_services/remote_service_admin_dfi/rsa/private/src/import_registration_dfi.c
+++ b/remote_services/remote_service_admin_dfi/rsa/private/src/import_registration_dfi.c
@@ -208,7 +208,7 @@ static celix_status_t importRegistration_createProxy(import_registration_pt
impo
 
     if (status == CELIX_SUCCESS) {
         *out = proxy;
-    } else {
+    } else if (proxy != NULL) {
         if (proxy->intf != NULL) {
             dynInterface_destroy(proxy->intf);
             proxy->intf = NULL;
@@ -325,4 +325,4 @@ celix_status_t importReference_getImportedEndpoint(import_reference_pt
reference
 celix_status_t importReference_getImportedService(import_reference_pt reference) {
     celix_status_t status = CELIX_SUCCESS;
     return status;
-}
\ No newline at end of file
+}


Mime
View raw message