From c136c5ffc5145346d54b3f8ece0742c4467ab885 Mon Sep 17 00:00:00 2001 From: Joris Vink Date: Mon, 27 Feb 2017 21:34:26 -0800 Subject: [PATCH] python_calloc() no longer needs manual memset. --- src/python.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/python.c b/src/python.c index 93f9bfb..1a719ec 100644 --- a/src/python.c +++ b/src/python.c @@ -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 *