diff options
Diffstat (limited to 'src/LYUtils.c')
-rw-r--r-- | src/LYUtils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/LYUtils.c b/src/LYUtils.c index 07590801..b2649a7f 100644 --- a/src/LYUtils.c +++ b/src/LYUtils.c @@ -1,5 +1,5 @@ /* - * $LynxId: LYUtils.c,v 1.264 2014/02/03 00:17:39 tom Exp $ + * $LynxId: LYUtils.c,v 1.265 2014/02/13 19:35:39 tom Exp $ */ #include <HTUtils.h> #include <HTTCP.h> @@ -2857,6 +2857,7 @@ char *LYFindConfigFile(const char *nominal, const char *dftfile) while ((item = LYstrsep(&path, PATH_SEPARATOR)) != 0) { if (isEmpty(item)) continue; + FREE(result); HTSprintf0(&result, "%s%s%s", item, FILE_SEPARATOR, nominal); LYTildeExpand(&result, TRUE); if (LYCanReadFile(result)) { |