diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-09-16 21:47:51 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-09-16 21:47:51 +0200 |
commit | 7914d7c7e304efe9cc84ff6d01e52f6db28f4188 (patch) | |
tree | 67bf78771d3d00c948513f3a02895fa89ab0523f | |
parent | 93ab8a2049e635fcd759bfc3d58247e22560b258 (diff) | |
download | exchange-7914d7c7e304efe9cc84ff6d01e52f6db28f4188.tar.gz exchange-7914d7c7e304efe9cc84ff6d01e52f6db28f4188.zip |
fix use-after-free
-rw-r--r-- | src/wire-plugins/plugin_wire_taler-bank.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/wire-plugins/plugin_wire_taler-bank.c b/src/wire-plugins/plugin_wire_taler-bank.c index e1db643d3..eed57cb97 100644 --- a/src/wire-plugins/plugin_wire_taler-bank.c +++ b/src/wire-plugins/plugin_wire_taler-bank.c | |||
@@ -913,7 +913,7 @@ bhist_cb (void *cls, | |||
913 | whh->hh = NULL; | 913 | whh->hh = NULL; |
914 | taler_bank_get_history_cancel (NULL, | 914 | taler_bank_get_history_cancel (NULL, |
915 | whh); | 915 | whh); |
916 | break; | 916 | return; |
917 | default: | 917 | default: |
918 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 918 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
919 | "Bank failed with HTTP status %u (EC: %u)\n", | 919 | "Bank failed with HTTP status %u (EC: %u)\n", |
@@ -929,9 +929,8 @@ bhist_cb (void *cls, | |||
929 | whh->hh = NULL; | 929 | whh->hh = NULL; |
930 | taler_bank_get_history_cancel (NULL, | 930 | taler_bank_get_history_cancel (NULL, |
931 | whh); | 931 | whh); |
932 | break; | 932 | return; |
933 | } | 933 | } |
934 | whh->hh = NULL; | ||
935 | } | 934 | } |
936 | 935 | ||
937 | 936 | ||