projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Windows PSCP now links against winsftp.c, and scp.c is now a
[u/mdw/putty]
/
settings.c
diff --git
a/settings.c
b/settings.c
index
be43f31
..
d5e0d26
100644
(file)
--- a/
settings.c
+++ b/
settings.c
@@
-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);
}