diff options
Diffstat (limited to 'src/fs/fs_file_information.c')
-rw-r--r-- | src/fs/fs_file_information.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fs/fs_file_information.c b/src/fs/fs_file_information.c index 28bbf12dd..3324abd58 100644 --- a/src/fs/fs_file_information.c +++ b/src/fs/fs_file_information.c | |||
@@ -75,7 +75,7 @@ void | |||
75 | GNUNET_FS_file_information_set_filename (struct GNUNET_FS_FileInformation *s, | 75 | GNUNET_FS_file_information_set_filename (struct GNUNET_FS_FileInformation *s, |
76 | const char *filename) | 76 | const char *filename) |
77 | { | 77 | { |
78 | GNUNET_free_non_null (s->filename); | 78 | GNUNET_free (s->filename); |
79 | if (filename) | 79 | if (filename) |
80 | s->filename = GNUNET_strdup (filename); | 80 | s->filename = GNUNET_strdup (filename); |
81 | else | 81 | else |
@@ -426,7 +426,7 @@ GNUNET_FS_file_information_destroy (struct GNUNET_FS_FileInformation *fi, | |||
426 | &fi->bo, | 426 | &fi->bo, |
427 | &no, | 427 | &no, |
428 | &fi->client_info); | 428 | &fi->client_info); |
429 | GNUNET_free_non_null (fi->data.dir.dir_data); | 429 | GNUNET_free (fi->data.dir.dir_data); |
430 | } | 430 | } |
431 | else | 431 | else |
432 | { | 432 | { |
@@ -447,8 +447,8 @@ GNUNET_FS_file_information_destroy (struct GNUNET_FS_FileInformation *fi, | |||
447 | &fi->data.file.do_index, | 447 | &fi->data.file.do_index, |
448 | &fi->client_info); | 448 | &fi->client_info); |
449 | } | 449 | } |
450 | GNUNET_free_non_null (fi->filename); | 450 | GNUNET_free (fi->filename); |
451 | GNUNET_free_non_null (fi->emsg); | 451 | GNUNET_free (fi->emsg); |
452 | if (NULL != fi->sks_uri) | 452 | if (NULL != fi->sks_uri) |
453 | GNUNET_FS_uri_destroy (fi->sks_uri); | 453 | GNUNET_FS_uri_destroy (fi->sks_uri); |
454 | if (NULL != fi->chk_uri) | 454 | if (NULL != fi->chk_uri) |
@@ -462,7 +462,7 @@ GNUNET_FS_file_information_destroy (struct GNUNET_FS_FileInformation *fi, | |||
462 | GNUNET_FS_uri_destroy (fi->keywords); | 462 | GNUNET_FS_uri_destroy (fi->keywords); |
463 | if (NULL != fi->meta) | 463 | if (NULL != fi->meta) |
464 | GNUNET_CONTAINER_meta_data_destroy (fi->meta); | 464 | GNUNET_CONTAINER_meta_data_destroy (fi->meta); |
465 | GNUNET_free_non_null (fi->serialization); | 465 | GNUNET_free (fi->serialization); |
466 | if (NULL != fi->te) | 466 | if (NULL != fi->te) |
467 | { | 467 | { |
468 | GNUNET_FS_tree_encoder_finish (fi->te, NULL); | 468 | GNUNET_FS_tree_encoder_finish (fi->te, NULL); |