diff options
Diffstat (limited to 'src/fragmentation/defragmentation.c')
-rw-r--r-- | src/fragmentation/defragmentation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fragmentation/defragmentation.c b/src/fragmentation/defragmentation.c index 5f9eace13..478a9c658 100644 --- a/src/fragmentation/defragmentation.c +++ b/src/fragmentation/defragmentation.c | |||
@@ -210,7 +210,7 @@ GNUNET_DEFRAGMENT_context_create (struct GNUNET_STATISTICS_Handle *stats, | |||
210 | { | 210 | { |
211 | struct GNUNET_DEFRAGMENT_Context *dc; | 211 | struct GNUNET_DEFRAGMENT_Context *dc; |
212 | 212 | ||
213 | dc = GNUNET_malloc (sizeof (struct GNUNET_DEFRAGMENT_Context)); | 213 | dc = GNUNET_new (struct GNUNET_DEFRAGMENT_Context); |
214 | dc->stats = stats; | 214 | dc->stats = stats; |
215 | dc->cls = cls; | 215 | dc->cls = cls; |
216 | dc->proc = proc; | 216 | dc->proc = proc; |