python_calloc() no longer needs manual memset.

This commit is contained in:
Joris Vink 2017-02-27 21:34:26 -08:00
parent 73fc58163d
commit c136c5ffc5
1 changed files with 1 additions and 6 deletions

View File

@ -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 *