From 6f287f5c0831e1e50a3de4e1ca303f21a3cb12ab Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 26 Jun 2018 15:15:36 +0200 Subject: fix bad free --- src/util/common_allocation.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/util/common_allocation.c') 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; } -- cgit v1.2.3