From: simon Date: Fri, 6 Oct 2000 12:10:26 +0000 (+0000) Subject: Cross-reference cleanup: winstore.c should not use fatalbox() X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/commitdiff_plain/71fca4645b136e5333b17016a03783d30cf27d4c?ds=inline Cross-reference cleanup: winstore.c should not use fatalbox() git-svn-id: svn://svn.tartarus.org/sgt/putty@679 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/winstore.c b/winstore.c index 3aef22fa..55977648 100644 --- a/winstore.c +++ b/winstore.c @@ -221,8 +221,6 @@ int verify_host_key(char *hostname, int port, char *keytype, char *key) { */ otherstr = smalloc(len); regname = smalloc(3*(strlen(hostname)+strlen(keytype))+15); - if (!otherstr || !regname) - fatalbox("Out of memory"); hostkey_regname(regname, hostname, port, keytype); @@ -315,8 +313,6 @@ void store_host_key(char *hostname, int port, char *keytype, char *key) { HKEY rkey; regname = smalloc(3*(strlen(hostname)+strlen(keytype))+15); - if (!regname) - fatalbox("Out of memory"); hostkey_regname(regname, hostname, port, keytype);