From e0ca7357cd0bfedc5c29cb731b56279fef8da059 Mon Sep 17 00:00:00 2001 From: LRN Date: Thu, 19 Dec 2013 06:00:23 +0000 Subject: malloc -> new --- src/fs/fs_unindex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fs/fs_unindex.c') diff --git a/src/fs/fs_unindex.c b/src/fs/fs_unindex.c index 14ab0fd69..b446bab1b 100644 --- a/src/fs/fs_unindex.c +++ b/src/fs/fs_unindex.c @@ -767,7 +767,7 @@ GNUNET_FS_unindex_start (struct GNUNET_FS_Handle *h, if (GNUNET_OK != GNUNET_DISK_file_size (filename, &size, GNUNET_YES, GNUNET_YES)) return NULL; - ret = GNUNET_malloc (sizeof (struct GNUNET_FS_UnindexContext)); + ret = GNUNET_new (struct GNUNET_FS_UnindexContext); ret->h = h; ret->filename = GNUNET_strdup (filename); ret->start_time = GNUNET_TIME_absolute_get (); -- cgit v1.2.3