projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- fix 2699
[oweals/gnunet.git]
/
src
/
util
/
container_meta_data.c
diff --git
a/src/util/container_meta_data.c
b/src/util/container_meta_data.c
index 3af457cc0ace2f31ad605a7229d11d5d4b8a0e3d..a868e817da61580925a6200074a81aca3ed3e31a 100644
(file)
--- a/
src/util/container_meta_data.c
+++ b/
src/util/container_meta_data.c
@@
-880,6
+880,7
@@
GNUNET_CONTAINER_meta_data_serialize (const struct GNUNET_CONTAINER_MetaData
hdr->entries = htonl (md->item_count - i);
memcpy (&dst[sizeof (struct MetaDataHeader)], cdata, clen);
GNUNET_free (cdata);
+ cdata = NULL;
GNUNET_free (ent);
rlen = clen + sizeof (struct MetaDataHeader);
}