[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r37872 - gnunet/src/util
From: |
gnunet |
Subject: |
[GNUnet-SVN] r37872 - gnunet/src/util |
Date: |
Sun, 4 Sep 2016 17:15:07 +0200 |
Author: amatus
Date: 2016-09-04 17:15:06 +0200 (Sun, 04 Sep 2016)
New Revision: 37872
Modified:
gnunet/src/util/common_allocation.c
Log:
xmalloc already zeroes the memory
Modified: gnunet/src/util/common_allocation.c
===================================================================
--- gnunet/src/util/common_allocation.c 2016-09-04 15:05:41 UTC (rev 37871)
+++ gnunet/src/util/common_allocation.c 2016-09-04 15:15:06 UTC (rev 37872)
@@ -367,7 +367,6 @@
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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r37872 - gnunet/src/util,
gnunet <=