diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-06-26 15:15:36 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-06-26 15:23:58 +0200 |
commit | 6f287f5c0831e1e50a3de4e1ca303f21a3cb12ab (patch) | |
tree | 2cff4b2bc9b1099d0a4429823b1c3c97d1a52281 /src/util/common_allocation.c | |
parent | e56d5ecd373dd61bedb4f586decd3a19364527a0 (diff) | |
download | gnunet-6f287f5c0831e1e50a3de4e1ca303f21a3cb12ab.tar.gz gnunet-6f287f5c0831e1e50a3de4e1ca303f21a3cb12ab.zip |
fix bad free
Diffstat (limited to 'src/util/common_allocation.c')
-rw-r--r-- | src/util/common_allocation.c | 1 |
1 files changed, 0 insertions, 1 deletions
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, | |||
486 | *buf = GNUNET_malloc (ret + 1); | 486 | *buf = GNUNET_malloc (ret + 1); |
487 | va_start (args, format); | 487 | va_start (args, format); |
488 | ret = VSPRINTF (*buf, format, args); | 488 | ret = VSPRINTF (*buf, format, args); |
489 | GNUNET_free (buf); | ||
490 | va_end (args); | 489 | va_end (args); |
491 | return ret; | 490 | return ret; |
492 | } | 491 | } |