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/datastore/gnunet-service-datastore.c | |
parent | 1437556645417e6302862845e7ebcbd4c9908357 (diff) | |
download | gnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.tar.gz gnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.zip |
GNUNET_free_non_null -> GNUNET_free
Diffstat (limited to 'src/datastore/gnunet-service-datastore.c')
-rw-r--r-- | src/datastore/gnunet-service-datastore.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/datastore/gnunet-service-datastore.c b/src/datastore/gnunet-service-datastore.c index 3fc46e19c..1c9e5e463 100644 --- a/src/datastore/gnunet-service-datastore.c +++ b/src/datastore/gnunet-service-datastore.c | |||
@@ -1355,7 +1355,7 @@ cleaning_task (void *cls) | |||
1355 | GNUNET_SCHEDULER_cancel (stat_timeout_task); | 1355 | GNUNET_SCHEDULER_cancel (stat_timeout_task); |
1356 | stat_timeout_task = NULL; | 1356 | stat_timeout_task = NULL; |
1357 | } | 1357 | } |
1358 | GNUNET_free_non_null (plugin_name); | 1358 | GNUNET_free (plugin_name); |
1359 | plugin_name = NULL; | 1359 | plugin_name = NULL; |
1360 | if (last_sync > 0) | 1360 | if (last_sync > 0) |
1361 | sync_stats (); | 1361 | sync_stats (); |
@@ -1490,7 +1490,7 @@ run (void *cls, | |||
1490 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 1490 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
1491 | _ ("Could not use specified filename `%s' for bloomfilter.\n"), | 1491 | _ ("Could not use specified filename `%s' for bloomfilter.\n"), |
1492 | NULL != fn ? fn : ""); | 1492 | NULL != fn ? fn : ""); |
1493 | GNUNET_free_non_null (fn); | 1493 | GNUNET_free (fn); |
1494 | fn = NULL; | 1494 | fn = NULL; |
1495 | } | 1495 | } |
1496 | if (NULL != fn) | 1496 | if (NULL != fn) |
@@ -1566,7 +1566,7 @@ run (void *cls, | |||
1566 | 5); /* approx. 3% false positives at max use */ | 1566 | 5); /* approx. 3% false positives at max use */ |
1567 | refresh_bf = GNUNET_YES; | 1567 | refresh_bf = GNUNET_YES; |
1568 | } | 1568 | } |
1569 | GNUNET_free_non_null (fn); | 1569 | GNUNET_free (fn); |
1570 | if (NULL == filter) | 1570 | if (NULL == filter) |
1571 | { | 1571 | { |
1572 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 1572 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |