From: Christian Grothoff Date: Tue, 26 Jun 2018 13:15:36 +0000 (+0200) Subject: fix bad free X-Git-Tag: v0.11.0~332^2~14 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6f287f5c0831e1e50a3de4e1ca303f21a3cb12ab;p=oweals%2Fgnunet.git fix bad free --- diff --git a/src/util/common_allocation.c b/src/util/common_allocation.c index fc7953df2..53e1a6707 100644 --- a/src/util/common_allocation.c +++ b/src/util/common_allocation.c @@ -486,7 +486,6 @@ GNUNET_asprintf (char **buf, *buf = GNUNET_malloc (ret + 1); va_start (args, format); ret = VSPRINTF (*buf, format, args); - GNUNET_free (buf); va_end (args); return ret; }