projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- fix cli arg parse
[oweals/gnunet.git]
/
src
/
util
/
test_container_slist.c
diff --git
a/src/util/test_container_slist.c
b/src/util/test_container_slist.c
index 8b4ff93d08d0c60166186eea80f6e42b31836e77..443d5c7c5113d2c2cd7784bb22fdb2fdc84db42e 100644
(file)
--- a/
src/util/test_container_slist.c
+++ b/
src/util/test_container_slist.c
@@
-136,7
+136,7
@@
main (int argc, char *argv[])
for (i = 0; i < 100; i++)
{
- ip = GNUNET_
malloc (sizeof (int)
);
+ ip = GNUNET_
new (int
);
*ip = i;
GNUNET_CONTAINER_slist_add (l, GNUNET_CONTAINER_SLIST_DISPOSITION_DYNAMIC,
ip, sizeof (int));