#include <windows.h>
#include <stdio.h>
+#include <stdlib.h>
#include "putty.h"
#include "storage.h"
*/
otherstr = smalloc(len);
regname = smalloc(3*(strlen(hostname)+strlen(keytype))+15);
- if (!otherstr || !regname)
- fatalbox("Out of memory");
hostkey_regname(regname, hostname, port, keytype);
HKEY rkey;
regname = smalloc(3*(strlen(hostname)+strlen(keytype))+15);
- if (!regname)
- fatalbox("Out of memory");
hostkey_regname(regname, hostname, port, keytype);