projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e56d5ec
)
fix bad free
author
Christian Grothoff
<christian@grothoff.org>
Tue, 26 Jun 2018 13:15:36 +0000
(15:15 +0200)
committer
Christian Grothoff
<christian@grothoff.org>
Tue, 26 Jun 2018 13:23:58 +0000
(15:23 +0200)
src/util/common_allocation.c
patch
|
blob
|
history
diff --git
a/src/util/common_allocation.c
b/src/util/common_allocation.c
index fc7953df2e9ebe4d77bca6f586b20f1f18072753..53e1a670761931af22cdc5dbc5fd994ffe255b67 100644
(file)
--- 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;
}