gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] 01/02: fix bad free


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 01/02: fix bad free
Date: Tue, 26 Jun 2018 15:24:03 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

commit 6f287f5c0831e1e50a3de4e1ca303f21a3cb12ab
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Jun 26 15:15:36 2018 +0200

    fix bad free
---
 src/util/common_allocation.c | 1 -
 1 file changed, 1 deletion(-)

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;
 }

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]