diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-11-24 00:25:17 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-11-24 00:25:17 +0100 |
commit | ef2965816109cdf116b91cd838163b294c70057a (patch) | |
tree | 9adaac58b4b82d08afc489b0bdbce9c37e36e78a /src/exchange-tools/taler-exchange-dbinit.c | |
parent | 4c628aba80a28c71881baa149883d1028ee77a65 (diff) |
fix #7107
Diffstat (limited to 'src/exchange-tools/taler-exchange-dbinit.c')
-rw-r--r-- | src/exchange-tools/taler-exchange-dbinit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/exchange-tools/taler-exchange-dbinit.c b/src/exchange-tools/taler-exchange-dbinit.c index acc37be8d..32f0570f3 100644 --- a/src/exchange-tools/taler-exchange-dbinit.c +++ b/src/exchange-tools/taler-exchange-dbinit.c @@ -86,6 +86,7 @@ run (void *cls, fprintf (stderr, "Failed to initialize database.\n"); TALER_EXCHANGEDB_plugin_unload (plugin); + plugin = NULL; global_ret = EXIT_NOPERMISSION; return; } @@ -97,6 +98,7 @@ run (void *cls, fprintf (stderr, "Failed to prepare database.\n"); TALER_EXCHANGEDB_plugin_unload (plugin); + plugin = NULL; global_ret = EXIT_NOPERMISSION; return; } @@ -119,6 +121,7 @@ run (void *cls, } } TALER_EXCHANGEDB_plugin_unload (plugin); + plugin = NULL; } |