From: David Barksdale Date: Sun, 4 Sep 2016 15:15:06 +0000 (+0000) Subject: xmalloc already zeroes the memory X-Git-Tag: initial-import-from-subversion-38251~297 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ff480b91b81af25ffdf3f5586f978659fae48fcd;p=oweals%2Fgnunet.git xmalloc already zeroes the memory --- diff --git a/src/util/common_allocation.c b/src/util/common_allocation.c index d0ea8d667..91d0a600a 100644 --- a/src/util/common_allocation.c +++ b/src/util/common_allocation.c @@ -367,7 +367,6 @@ GNUNET_xgrow_ (void **old, else { tmp = GNUNET_xmalloc_ (size, filename, linenumber); - memset (tmp, 0, size); /* client code should not rely on this, though... */ if (*oldCount > newCount) *oldCount = newCount; /* shrink is also allowed! */ if (NULL != *old)