mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpgscm: Make memory allocation failures fatal.
* tests/gpgscm/scheme.c (Eval_Cycle): Exit if we run out of memory. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
c19b206127
commit
616582071a
1 changed files with 1 additions and 1 deletions
|
@ -4529,7 +4529,7 @@ static void Eval_Cycle(scheme *sc, enum scheme_opcodes op) {
|
|||
}
|
||||
if(sc->no_memory) {
|
||||
fprintf(stderr,"No memory!\n");
|
||||
return;
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue