You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by pn...@apache.org on 2015/10/13 19:19:00 UTC

celix git commit: CELIX-272: Fixed calloc call

Repository: celix
Updated Branches:
  refs/heads/develop 61d986aa1 -> c5de698e7


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/develop
Commit: c5de698e73a8345f277bca01b0b00be585c4f431
Parents: 61d986a
Author: Pepijn Noltes <pe...@gmail.com>
Authored: Tue Oct 13 19:18:23 2015 +0200
Committer: Pepijn Noltes <pe...@gmail.com>
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 {