summaryrefslogtreecommitdiff
path: root/src/auditor
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-05 16:58:43 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-05 16:58:43 +0200
commited5b98a2c2308fbd44b906a30286d2689fd304dd (patch)
treea221b9c784b4e004eb5972e18516653d1aea6a5c /src/auditor
parent042e5cafd7b7748dafc5ce243267dc73abd45df7 (diff)
downloadexchange-ed5b98a2c2308fbd44b906a30286d2689fd304dd.tar.gz
exchange-ed5b98a2c2308fbd44b906a30286d2689fd304dd.tar.bz2
exchange-ed5b98a2c2308fbd44b906a30286d2689fd304dd.zip
GNUNET_free_non_null is gone, use GNUNET_free
Diffstat (limited to 'src/auditor')
-rw-r--r--src/auditor/taler-auditor-exchange.c4
-rw-r--r--src/auditor/taler-auditor-httpd.c4
-rw-r--r--src/auditor/taler-auditor-sign.c4
-rw-r--r--src/auditor/taler-helper-auditor-coins.c4
-rw-r--r--src/auditor/taler-helper-auditor-reserves.c2
5 files changed, 9 insertions, 9 deletions
diff --git a/src/auditor/taler-auditor-exchange.c b/src/auditor/taler-auditor-exchange.c
index 41df335b3..2091031cb 100644
--- a/src/auditor/taler-auditor-exchange.c
+++ b/src/auditor/taler-auditor-exchange.c
@@ -111,10 +111,10 @@ main (int argc,
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Malformed configuration file `%s', exit ...\n",
cfgfile);
- GNUNET_free_non_null (cfgfile);
+ GNUNET_free (cfgfile);
return 1;
}
- GNUNET_free_non_null (cfgfile);
+ GNUNET_free (cfgfile);
if (! remove_flag)
{
diff --git a/src/auditor/taler-auditor-httpd.c b/src/auditor/taler-auditor-httpd.c
index d326f0f62..d1e3c2de5 100644
--- a/src/auditor/taler-auditor-httpd.c
+++ b/src/auditor/taler-auditor-httpd.c
@@ -579,10 +579,10 @@ main (int argc,
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Malformed configuration file `%s', exiting ...\n",
cfgfile);
- GNUNET_free_non_null (cfgfile);
+ GNUNET_free (cfgfile);
return 1;
}
- GNUNET_free_non_null (cfgfile);
+ GNUNET_free (cfgfile);
if (GNUNET_OK !=
auditor_serve_process_config ())
diff --git a/src/auditor/taler-auditor-sign.c b/src/auditor/taler-auditor-sign.c
index 7dd7605fb..af6cec2c4 100644
--- a/src/auditor/taler-auditor-sign.c
+++ b/src/auditor/taler-auditor-sign.c
@@ -213,10 +213,10 @@ main (int argc,
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Malformed configuration file `%s', exiting ...\n",
cfgfile);
- GNUNET_free_non_null (cfgfile);
+ GNUNET_free (cfgfile);
return 1;
}
- GNUNET_free_non_null (cfgfile);
+ GNUNET_free (cfgfile);
if ( (NULL == auditor_key_file) &&
(GNUNET_OK !=
GNUNET_CONFIGURATION_get_value_filename (cfg,
diff --git a/src/auditor/taler-helper-auditor-coins.c b/src/auditor/taler-helper-auditor-coins.c
index 158baa8b3..1a03ac72d 100644
--- a/src/auditor/taler-helper-auditor-coins.c
+++ b/src/auditor/taler-helper-auditor-coins.c
@@ -1351,7 +1351,7 @@ refresh_session_cb (void *cls,
if (GNUNET_OK != reveal_ctx.err)
{
- GNUNET_free_non_null (reveal_ctx.new_issues);
+ GNUNET_free (reveal_ctx.new_issues);
return (GNUNET_SYSERR == reveal_ctx.err) ? GNUNET_SYSERR : GNUNET_OK;
}
@@ -1458,7 +1458,7 @@ refresh_session_cb (void *cls,
&value);
}
}
- GNUNET_free_non_null (reveal_ctx.new_issues);
+ GNUNET_free (reveal_ctx.new_issues);
}
/* update old coin's denomination balance */
diff --git a/src/auditor/taler-helper-auditor-reserves.c b/src/auditor/taler-helper-auditor-reserves.c
index 3460515a2..0b140e740 100644
--- a/src/auditor/taler-helper-auditor-reserves.c
+++ b/src/auditor/taler-helper-auditor-reserves.c
@@ -1269,7 +1269,7 @@ verify_reserve_balance (void *cls,
GNUNET_CONTAINER_multihashmap_remove (rc->reserves,
key,
rs));
- GNUNET_free_non_null (rs->sender_account);
+ GNUNET_free (rs->sender_account);
GNUNET_free (rs);
return ret;
}