diff options
Diffstat (limited to 'Build/source/texk/kpathsea/win32/getdestdir.c')
-rw-r--r-- | Build/source/texk/kpathsea/win32/getdestdir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/kpathsea/win32/getdestdir.c b/Build/source/texk/kpathsea/win32/getdestdir.c index 0d77f320d2a..2dcafbd242f 100644 --- a/Build/source/texk/kpathsea/win32/getdestdir.c +++ b/Build/source/texk/kpathsea/win32/getdestdir.c @@ -83,7 +83,7 @@ getdestdir (int ac, char **av) *q = '\0'; /* now path name of ${name}.mf is in buff. */ /* #ifdef TEST - return buff; + return xstrdup(buff); #endif */ if (ac == 4) @@ -233,7 +233,7 @@ getdestdir (int ac, char **av) for (k = 0; k < NUMBUF; k++) free (pb[k]); - p = buff; + p = xstrdup(buff); return p; } |