projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PSYC util lib: receiving/transmitting/logging PSYC messages
[oweals/gnunet.git]
/
src
/
fragmentation
/
defragmentation.c
diff --git
a/src/fragmentation/defragmentation.c
b/src/fragmentation/defragmentation.c
index 5f9eace13bbb9ab5b4ef18e8de5fca445b6f9070..478a9c6584da2b139c56b0fabadb40852d19f9aa 100644
(file)
--- a/
src/fragmentation/defragmentation.c
+++ b/
src/fragmentation/defragmentation.c
@@
-210,7
+210,7
@@
GNUNET_DEFRAGMENT_context_create (struct GNUNET_STATISTICS_Handle *stats,
{
struct GNUNET_DEFRAGMENT_Context *dc;
- dc = GNUNET_
malloc (sizeof (struct GNUNET_DEFRAGMENT_Context)
);
+ dc = GNUNET_
new (struct GNUNET_DEFRAGMENT_Context
);
dc->stats = stats;
dc->cls = cls;
dc->proc = proc;