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/fs/test_gnunet_service_fs_migration.c | |
parent | 92fd84dc7ef98452f848a62677c61a2b80b5835e (diff) | |
download | gnunet-e0ca7357cd0bfedc5c29cb731b56279fef8da059.tar.gz gnunet-e0ca7357cd0bfedc5c29cb731b56279fef8da059.zip |
malloc -> new
Diffstat (limited to 'src/fs/test_gnunet_service_fs_migration.c')
-rw-r--r-- | src/fs/test_gnunet_service_fs_migration.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/test_gnunet_service_fs_migration.c b/src/fs/test_gnunet_service_fs_migration.c index 770c212ba..4defe119b 100644 --- a/src/fs/test_gnunet_service_fs_migration.c +++ b/src/fs/test_gnunet_service_fs_migration.c | |||
@@ -151,7 +151,7 @@ do_wait (void *cls, const struct GNUNET_FS_Uri *uri, | |||
151 | return; | 151 | return; |
152 | } | 152 | } |
153 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Waiting to allow content to migrate\n"); | 153 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Waiting to allow content to migrate\n"); |
154 | dc = GNUNET_malloc (sizeof (struct DownloadContext)); | 154 | dc = GNUNET_new (struct DownloadContext); |
155 | dc->uri = GNUNET_FS_uri_dup (uri); | 155 | dc->uri = GNUNET_FS_uri_dup (uri); |
156 | if (NULL != fn) | 156 | if (NULL != fn) |
157 | dc->fn = GNUNET_strdup (fn); | 157 | dc->fn = GNUNET_strdup (fn); |