diff options
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 acc37be8..32f0570f 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;  }  | 
