summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_auditors.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-04-17 12:30:00 +0200
committerChristian Grothoff <christian@grothoff.org>2016-04-17 12:30:00 +0200
commit87f857957cc8b2241afa150830d9822a419ed8c4 (patch)
tree32fb242379e61900aa4f6530e57be395b6047c1a /src/backend/taler-merchant-httpd_auditors.c
parentcdd1091bf11627e91ad9de366a3f8e83a111931c (diff)
downloadmerchant-87f857957cc8b2241afa150830d9822a419ed8c4.tar.gz
merchant-87f857957cc8b2241afa150830d9822a419ed8c4.tar.bz2
merchant-87f857957cc8b2241afa150830d9822a419ed8c4.zip
fix assert on exit if there are no auditors
Diffstat (limited to 'src/backend/taler-merchant-httpd_auditors.c')
-rw-r--r--src/backend/taler-merchant-httpd_auditors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_auditors.c b/src/backend/taler-merchant-httpd_auditors.c
index 0a892115..78ffc3e0 100644
--- a/src/backend/taler-merchant-httpd_auditors.c
+++ b/src/backend/taler-merchant-httpd_auditors.c
@@ -232,7 +232,7 @@ TMH_AUDITORS_done ()
GNUNET_free (auditors[i].name);
GNUNET_free (auditors[i].uri);
}
- GNUNET_free (auditors);
+ GNUNET_free_non_null (auditors);
auditors = NULL;
nauditors = 0;
}