git.droids-corp.org
/
protos
/
libecoli.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cont
[protos/libecoli.git]
/
lib
/
ecoli_malloc.c
diff --git
a/lib/ecoli_malloc.c
b/lib/ecoli_malloc.c
index
0bdbf21
..
0871247
100644
(file)
--- a/
lib/ecoli_malloc.c
+++ b/
lib/ecoli_malloc.c
@@
-80,7
+80,7
@@
void *__ec_calloc(size_t nmemb, size_t size, const char *file,
if (ptr == NULL)
return NULL;
- memset(ptr, 0,
size
);
+ memset(ptr, 0,
total
);
return ptr;
}