diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-06-23 09:08:06 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-06-23 09:08:06 +0000 |
commit | 15bec1f951708a370e2c6cc2ffd48286ca68015b (patch) | |
tree | bd15e673e26c7f05da5c33370e4d1c131aba6a3e /src/fs/fs_file_information.c | |
parent | fdc3349eb0fb3ad4aa0554deb84ebd94f55793cd (diff) | |
download | gnunet-15bec1f951708a370e2c6cc2ffd48286ca68015b.tar.gz gnunet-15bec1f951708a370e2c6cc2ffd48286ca68015b.zip |
-fix URI test to handle new encoder, print both SKS and CHK URIs when publishing to namespace
Diffstat (limited to 'src/fs/fs_file_information.c')
-rw-r--r-- | src/fs/fs_file_information.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fs/fs_file_information.c b/src/fs/fs_file_information.c index d369598ef..f004e4b29 100644 --- a/src/fs/fs_file_information.c +++ b/src/fs/fs_file_information.c | |||
@@ -436,7 +436,10 @@ GNUNET_FS_file_information_destroy (struct GNUNET_FS_FileInformation *fi, | |||
436 | } | 436 | } |
437 | GNUNET_free_non_null (fi->filename); | 437 | GNUNET_free_non_null (fi->filename); |
438 | GNUNET_free_non_null (fi->emsg); | 438 | GNUNET_free_non_null (fi->emsg); |
439 | GNUNET_free_non_null (fi->chk_uri); | 439 | if (NULL != fi->sks_uri) |
440 | GNUNET_FS_uri_destroy (fi->sks_uri); | ||
441 | if (NULL != fi->chk_uri) | ||
442 | GNUNET_FS_uri_destroy (fi->chk_uri); | ||
440 | /* clean up serialization */ | 443 | /* clean up serialization */ |
441 | if ((NULL != fi->serialization) && (0 != UNLINK (fi->serialization))) | 444 | if ((NULL != fi->serialization) && (0 != UNLINK (fi->serialization))) |
442 | GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_WARNING, "unlink", | 445 | GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_WARNING, "unlink", |