diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-12-14 00:40:51 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-12-14 00:40:51 +0000 |
commit | cc686b89e0e3804486f38019d3b2092c37edf963 (patch) | |
tree | a5f679ec0e7e12d43757455fedc63bc68ead4b3a /src/fs | |
parent | c488f01c8ff0a6dc77f6b626cd3b40e6a64e0809 (diff) |
trying to fix #3576
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/gnunet-publish.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fs/gnunet-publish.c b/src/fs/gnunet-publish.c index f8396416ca..ceed3109fd 100644 --- a/src/fs/gnunet-publish.c +++ b/src/fs/gnunet-publish.c @@ -517,6 +517,8 @@ get_file_information (struct GNUNET_FS_ShareTreeItem *item) if (GNUNET_YES == item->is_directory) { + if (NULL == item->meta) + item->meta = GNUNET_CONTAINER_meta_data_create (); GNUNET_CONTAINER_meta_data_delete (item->meta, EXTRACTOR_METATYPE_MIMETYPE, NULL, 0); |