mirror of https://git.kore.io/kore.git
python_calloc() no longer needs manual memset.
This commit is contained in:
parent
73fc58163d
commit
c136c5ffc5
|
@ -153,12 +153,7 @@ python_malloc(void *ctx, size_t len)
|
|||
static void *
|
||||
python_calloc(void *ctx, size_t memb, size_t len)
|
||||
{
|
||||
void *ptr;
|
||||
|
||||
ptr = kore_calloc(memb, len);
|
||||
memset(ptr, 0, len);
|
||||
|
||||
return (ptr);
|
||||
return (kore_calloc(memb, len));
|
||||
}
|
||||
|
||||
static void *
|
||||
|
|
Loading…
Reference in New Issue