diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-03-24 18:45:44 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-03-24 18:45:44 +0000 |
commit | 3d77798cdf795f5cf2d44f4ac78cfe0a22037f65 (patch) | |
tree | fd7e0f9de4ca51b4fe417a41d367d466653d751c /src/fs/gnunet-publish.c | |
parent | a49509750b1bbc9f76af23f5eb0e96cb71f148f7 (diff) | |
download | gnunet-3d77798cdf795f5cf2d44f4ac78cfe0a22037f65.tar.gz gnunet-3d77798cdf795f5cf2d44f4ac78cfe0a22037f65.zip |
-nullcheck
Diffstat (limited to 'src/fs/gnunet-publish.c')
-rw-r--r-- | src/fs/gnunet-publish.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fs/gnunet-publish.c b/src/fs/gnunet-publish.c index 84d581384..a1b26dbd5 100644 --- a/src/fs/gnunet-publish.c +++ b/src/fs/gnunet-publish.c | |||
@@ -291,7 +291,8 @@ publish_inspector (void *cls, struct GNUNET_FS_FileInformation *fi, | |||
291 | } | 291 | } |
292 | if (!do_disable_creation_time) | 292 | if (!do_disable_creation_time) |
293 | GNUNET_CONTAINER_meta_data_add_publication_date (m); | 293 | GNUNET_CONTAINER_meta_data_add_publication_date (m); |
294 | if (disable_extractor) | 294 | if ( (disable_extractor) && |
295 | (NULL != *uri) ) | ||
295 | { | 296 | { |
296 | GNUNET_FS_uri_destroy (*uri); | 297 | GNUNET_FS_uri_destroy (*uri); |
297 | *uri = NULL; | 298 | *uri = NULL; |