-fixfix
authorChristian Grothoff <christian@grothoff.org>
Wed, 25 Jul 2012 15:07:51 +0000 (15:07 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 25 Jul 2012 15:07:51 +0000 (15:07 +0000)
src/fs/fs_api.c

index e0ceb4c57bd377f05bc60a3e84a2b6f1cf65406b..bdde163ae7b824f546191c240df33d10d5f23400 100644 (file)
@@ -1803,7 +1803,7 @@ read_download_request (struct GNUNET_BIO_ReadHandle *rh)
   }
   if (dr->num_children > 0)
     dr->children =
-        GNUNET_malloc (dr->num_children * sizeof (struct DownloadRequest));
+        GNUNET_malloc (dr->num_children * sizeof (struct DownloadRequest *));
   switch (dr->state)
   {
   case BRS_INIT: