diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-07-05 16:32:34 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-05 16:32:34 +0200 |
commit | e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2 (patch) | |
tree | 61df772a93f7f21af7c715ddd4b9a3f1a50e0509 /src/fs/fs_namespace.c | |
parent | 1437556645417e6302862845e7ebcbd4c9908357 (diff) | |
download | gnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.tar.gz gnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.zip |
GNUNET_free_non_null -> GNUNET_free
Diffstat (limited to 'src/fs/fs_namespace.c')
-rw-r--r-- | src/fs/fs_namespace.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fs/fs_namespace.c b/src/fs/fs_namespace.c index f098032d7..508f9cadc 100644 --- a/src/fs/fs_namespace.c +++ b/src/fs/fs_namespace.c | |||
@@ -301,8 +301,8 @@ read_update_information_graph (struct GNUNET_FS_Handle *h, | |||
301 | if (GNUNET_OK != GNUNET_BIO_read_spec_commit (rh, rs)) | 301 | if (GNUNET_OK != GNUNET_BIO_read_spec_commit (rh, rs)) |
302 | { | 302 | { |
303 | GNUNET_break (0); | 303 | GNUNET_break (0); |
304 | GNUNET_free_non_null (n->id); | 304 | GNUNET_free (n->id); |
305 | GNUNET_free_non_null (n->update); | 305 | GNUNET_free (n->update); |
306 | if (n->md != NULL) | 306 | if (n->md != NULL) |
307 | GNUNET_CONTAINER_meta_data_destroy (n->md); | 307 | GNUNET_CONTAINER_meta_data_destroy (n->md); |
308 | GNUNET_free (n); | 308 | GNUNET_free (n); |
@@ -315,7 +315,7 @@ read_update_information_graph (struct GNUNET_FS_Handle *h, | |||
315 | GNUNET_break (0); | 315 | GNUNET_break (0); |
316 | GNUNET_free (emsg); | 316 | GNUNET_free (emsg); |
317 | GNUNET_free (n->id); | 317 | GNUNET_free (n->id); |
318 | GNUNET_free_non_null (n->update); | 318 | GNUNET_free (n->update); |
319 | GNUNET_CONTAINER_meta_data_destroy (n->md); | 319 | GNUNET_CONTAINER_meta_data_destroy (n->md); |
320 | GNUNET_free (n); | 320 | GNUNET_free (n); |
321 | break; | 321 | break; |