]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/blobdiff - settings.c
Windows PSCP now links against winsftp.c, and scp.c is now a
[PuTTY_svn.git] / settings.c
index be43f31c70f01a82f9cd1696bce23ef3a9336c20..d5e0d2650e76ed5fb449f769496c79726ff116dc 100644 (file)
@@ -29,6 +29,7 @@ static void gpps(void *handle, const char *name, const char *def,
        pdef = platform_default_s(name);
        if (pdef) {
            strncpy(val, pdef, len);
+           sfree(pdef);
        } else {
            strncpy(val, def, len);
        }