celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pnol...@apache.org
Subject [1/2] celix git commit: Fix for memory leak in framework
Date Tue, 31 Jan 2017 20:10:18 GMT
Repository: celix
Updated Branches:
  refs/heads/develop ce0586bcb -> 3e678523e


Fix for memory leak in framework


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

Branch: refs/heads/develop
Commit: a5034930c97b39ea12a2f45184ab19479ead98e9
Parents: d62731a
Author: Erjan Altena <erjan.altena@nl.thalesgroup.com>
Authored: Tue Jan 31 14:05:37 2017 +0100
Committer: Erjan Altena <erjan.altena@nl.thalesgroup.com>
Committed: Tue Jan 31 14:05:37 2017 +0100

----------------------------------------------------------------------
 framework/private/src/framework.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/a5034930/framework/private/src/framework.c
----------------------------------------------------------------------
diff --git a/framework/private/src/framework.c b/framework/private/src/framework.c
index a9d19f8..b1db384 100644
--- a/framework/private/src/framework.c
+++ b/framework/private/src/framework.c
@@ -2392,7 +2392,7 @@ static void *fw_eventDispatcher(void *fw) {
                     event->errorCode = request->errorCode;
 
                     fw_invokeFrameworkListener(framework, listener->listener, event, listener->bundle);
-
+                    free(event->bundleSymbolicName);
                     free(event);
                 }
             }


Mime
View raw message