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/09/28 16:58:31 UTC
celix git commit: CELIX-237: In case of an empty descriptorFile,
the proxy is not set but free'd
Repository: celix
Updated Branches:
refs/heads/feature/CELIX-237_rsa-ffi 3f71ac4a9 -> f04a213b4
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/feature/CELIX-237_rsa-ffi
Commit: f04a213b4faa6961a1b7b82e7a170f4f8b2b747a
Parents: 3f71ac4
Author: Bjoern Petri <bp...@apache.org>
Authored: Mon Sep 28 16:56:06 2015 +0200
Committer: Bjoern Petri <bp...@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
+}