Fix leak of 'fname' introduced by the rewrite of write_random_seed in
[sgt/putty] / windows / winstuff.h
index d81515d..cfed048 100644 (file)
@@ -75,7 +75,9 @@ struct FontSpec *fontspec_new(const char *name,
 #define BOXRESULT (DLGWINDOWEXTRA + sizeof(LONG_PTR))
 #define DF_END 0x0001
 
+#ifndef NO_SECUREZEROMEMORY
 #define PLATFORM_HAS_SMEMCLR /* inhibit cross-platform one in misc.c */
+#endif
 
 /*
  * Dynamically linked functions. These come in two flavours: