diff options
Diffstat (limited to 'src/fs/fs_directory.c')
-rw-r--r-- | src/fs/fs_directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/fs_directory.c b/src/fs/fs_directory.c index b26ec12d3d..3f7cc45c11 100644 --- a/src/fs/fs_directory.c +++ b/src/fs/fs_directory.c @@ -346,7 +346,7 @@ GNUNET_FS_directory_builder_create (const struct GNUNET_CONTAINER_MetaData { struct GNUNET_FS_DirectoryBuilder *ret; - ret = GNUNET_malloc (sizeof (struct GNUNET_FS_DirectoryBuilder)); + ret = GNUNET_new (struct GNUNET_FS_DirectoryBuilder); if (mdir != NULL) ret->meta = GNUNET_CONTAINER_meta_data_duplicate (mdir); else |