diff options
Diffstat (limited to 'src/util/common_allocation.c')
-rw-r--r-- | src/util/common_allocation.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/common_allocation.c b/src/util/common_allocation.c index 53e1a6707..fc7953df2 100644 --- a/src/util/common_allocation.c +++ b/src/util/common_allocation.c | |||
@@ -486,6 +486,7 @@ 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); | ||
489 | va_end (args); | 490 | va_end (args); |
490 | return ret; | 491 | return ret; |
491 | } | 492 | } |