fix use-after-free
This commit is contained in:
parent
93ab8a2049
commit
7914d7c7e3
@ -913,7 +913,7 @@ bhist_cb (void *cls,
|
|||||||
whh->hh = NULL;
|
whh->hh = NULL;
|
||||||
taler_bank_get_history_cancel (NULL,
|
taler_bank_get_history_cancel (NULL,
|
||||||
whh);
|
whh);
|
||||||
break;
|
return;
|
||||||
default:
|
default:
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||||
"Bank failed with HTTP status %u (EC: %u)\n",
|
"Bank failed with HTTP status %u (EC: %u)\n",
|
||||||
@ -929,9 +929,8 @@ bhist_cb (void *cls,
|
|||||||
whh->hh = NULL;
|
whh->hh = NULL;
|
||||||
taler_bank_get_history_cancel (NULL,
|
taler_bank_get_history_cancel (NULL,
|
||||||
whh);
|
whh);
|
||||||
break;
|
return;
|
||||||
}
|
}
|
||||||
whh->hh = NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user