Skip to content

Commit 126adb7

Browse files
committed
missed a return FALSE in case we ran out of memory
1 parent c201ebd commit 126adb7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/accesses/rp/recovery_password.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,7 @@ int prompt_rp(uint8_t** rp)
459459
stderr,
460460
"Failed to allocate memory in recovery prompt\n"
461461
);
462+
return FALSE;
462463
}
463464

464465
blah = *rp;

0 commit comments

Comments
 (0)