CELIX-272: Fixed calloc call

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

Branch: refs/heads/feature/CELIX-230_Refactoring_of_the_shell_command_service
Commit: c5de698e73a8345f277bca01b0b00be585c4f431
Parents: 61d986a
Author: Pepijn Noltes <[email protected]>
Authored: Tue Oct 13 19:18:23 2015 +0200
Committer: Pepijn Noltes <[email protected]>
Committed: Tue Oct 13 19:18:23 2015 +0200

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


http://git-wip-us.apache.org/repos/asf/celix/blob/c5de698e/framework/private/src/bundle_cache.c
----------------------------------------------------------------------
diff --git a/framework/private/src/bundle_cache.c 
b/framework/private/src/bundle_cache.c
index 81bc96e..0f1da80 100644
--- a/framework/private/src/bundle_cache.c
+++ b/framework/private/src/bundle_cache.c
@@ -41,7 +41,7 @@ celix_status_t bundleCache_create(properties_pt 
configurationMap, framework_logg
     celix_status_t status;
     bundle_cache_pt cache;
 
-       cache = (bundle_cache_pt) calloc((1, sizeof(*cache)));
+       cache = (bundle_cache_pt) calloc(1, sizeof(*cache));
     if (cache == NULL) {
         status = CELIX_ENOMEM;
     } else {

Reply via email to