diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-04-15 12:20:00 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-04-15 12:20:00 +0200 |
commit | 202827ebdaafdf33b78c202bcbb6917dd65dd1c1 (patch) | |
tree | b5689b28c58e1698dff0f296dbe78ec432430512 /src/wire-plugins | |
parent | aea82d3dcde94b68a70a65be8736cf7ad437b0c7 (diff) | |
parent | 1b3bf1a00126baffd016676ad1d668637b8b2efe (diff) | |
download | exchange-202827ebdaafdf33b78c202bcbb6917dd65dd1c1.tar.xz |
merging Florian's changes with my wire changes
Diffstat (limited to 'src/wire-plugins')
-rw-r--r-- | src/wire-plugins/plugin_wire_taler-bank.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/wire-plugins/plugin_wire_taler-bank.c b/src/wire-plugins/plugin_wire_taler-bank.c index 2d2235343..743d85b2f 100644 --- a/src/wire-plugins/plugin_wire_taler-bank.c +++ b/src/wire-plugins/plugin_wire_taler-bank.c @@ -905,7 +905,11 @@ bhist_cb (void *cls, sizeof (bserial_id), &wd)) ) whh->hres_cb = NULL; - return; /* do NOT yet clean up! */ + GNUNET_break (NULL != whh->hh); + /* Once we get the sentinel element, the handle becomes invalid. */ + if (TALER_BANK_DIRECTION_NONE == dir) + whh->hh = NULL; + return; } case MHD_HTTP_NO_CONTENT: if (NULL != whh->hres_cb) |