aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-14 14:16:46 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-14 14:16:46 +0000
commitdbaf8fc3075e00b95eaf8ced5a5d07d59ed61ca5 (patch)
treefb7108491625fcc61fdad42ceda6f6deb2f12473 /src/fs/fs_api.c
parent264f8f3241199d433253b26837d10cf61d9b06fe (diff)
downloadgnunet-dbaf8fc3075e00b95eaf8ced5a5d07d59ed61ca5.tar.gz
gnunet-dbaf8fc3075e00b95eaf8ced5a5d07d59ed61ca5.zip
-more complete fix for #3034
Diffstat (limited to 'src/fs/fs_api.c')
-rw-r--r--src/fs/fs_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/fs_api.c b/src/fs/fs_api.c
index e5707c804..d61ef0016 100644
--- a/src/fs/fs_api.c
+++ b/src/fs/fs_api.c
@@ -496,7 +496,7 @@ GNUNET_FS_make_file_reader_context_ (const char *filename)
496{ 496{
497 struct FileInfo *fi; 497 struct FileInfo *fi;
498 498
499 fi = GNUNET_malloc (sizeof (struct FileInfo)); 499 fi = GNUNET_new (struct FileInfo);
500 fi->filename = GNUNET_STRINGS_filename_expand (filename); 500 fi->filename = GNUNET_STRINGS_filename_expand (filename);
501 if (NULL == fi->filename) 501 if (NULL == fi->filename)
502 { 502 {