Fix NULL pointer access

Fixes #269
pull/25/head
Jochen Hoenicke 7 years ago
parent ded41c484c
commit 810443f197

@ -329,7 +329,7 @@ void fsm_msgChangePin(ChangePin *msg)
CHECK_PIN_UNCACHED
if (removal) {
storage_setPin(0);
storage_setPin("");
storage_update();
fsm_sendSuccess(_("PIN removed"));
} else {

Loading…
Cancel
Save