From be7b16f744d7c840498874f57dacfe9403080056 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 28 Nov 2013 19:43:21 +0000 Subject: -fix left-over confusion between hash code and peer identity size from recent peer identity format change --- src/fs/fs_download.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fs/fs_download.c') diff --git a/src/fs/fs_download.c b/src/fs/fs_download.c index 997d42e18..f9f5c0a06 100644 --- a/src/fs/fs_download.c +++ b/src/fs/fs_download.c @@ -2081,7 +2081,7 @@ create_download_context (struct GNUNET_FS_Handle *h, GNUNET_break (0); return NULL; } - dc = GNUNET_malloc (sizeof (struct GNUNET_FS_DownloadContext)); + dc = GNUNET_new (struct GNUNET_FS_DownloadContext); GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Starting download %p, %u bytes at offset %llu\n", dc, -- cgit v1.2.3