Repository: celix Updated Branches: refs/heads/develop 4fb26cf10 -> a5192fc6a
Fixed memory leak in DM shell command Project: http://git-wip-us.apache.org/repos/asf/celix/repo Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/a5192fc6 Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/a5192fc6 Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/a5192fc6 Branch: refs/heads/develop Commit: a5192fc6a0b7a302b106dacd7d023f55d48b241b Parents: 4fb26cf Author: Erjan Altena <erjanalt...@gmail.com> Authored: Tue Jun 26 11:12:08 2018 +0200 Committer: Erjan Altena <erjanalt...@gmail.com> Committed: Tue Jun 26 11:12:08 2018 +0200 ---------------------------------------------------------------------- bundles/shell/shell/src/dm_shell_list_command.c | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/celix/blob/a5192fc6/bundles/shell/shell/src/dm_shell_list_command.c ---------------------------------------------------------------------- diff --git a/bundles/shell/shell/src/dm_shell_list_command.c b/bundles/shell/shell/src/dm_shell_list_command.c index 6b92c17..aeb7afd 100644 --- a/bundles/shell/shell/src/dm_shell_list_command.c +++ b/bundles/shell/shell/src/dm_shell_list_command.c @@ -184,6 +184,7 @@ celix_status_t dmListCommand_execute(void* handle, char * line, FILE *out, FILE } } + arrayList_destroy(bundles); } destroyBundleIdList(bundleIds);