diff options
author | LRN <lrn1986@gmail.com> | 2013-12-19 06:00:23 +0000 |
---|---|---|
committer | LRN <lrn1986@gmail.com> | 2013-12-19 06:00:23 +0000 |
commit | e0ca7357cd0bfedc5c29cb731b56279fef8da059 (patch) | |
tree | ecfd47cf59bc00e656b53fd59c58f5038e342d65 /src/fragmentation/defragmentation.c | |
parent | 92fd84dc7ef98452f848a62677c61a2b80b5835e (diff) | |
download | gnunet-e0ca7357cd0bfedc5c29cb731b56279fef8da059.tar.gz gnunet-e0ca7357cd0bfedc5c29cb731b56279fef8da059.zip |
malloc -> new
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; |