summaryrefslogtreecommitdiff
path: root/src/cmd/dist/windows.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/dist/windows.c')
-rw-r--r--src/cmd/dist/windows.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/dist/windows.c b/src/cmd/dist/windows.c
index ba23a7ae8..7d03989b2 100644
--- a/src/cmd/dist/windows.c
+++ b/src/cmd/dist/windows.c
@@ -465,7 +465,7 @@ xrealwd(Buf *b, char *path)
torune(&rnew, path);
if(!SetCurrentDirectoryW(rnew))
fatal("chdir %s: %s", path, errstr());
- free(rnew);
+ xfree(rnew);
xgetwd(b);
if(!SetCurrentDirectoryW(old)) {
breset(b);
@@ -929,7 +929,7 @@ xstrrchr(char *p, int c)
return nil;
}
-// xsamefile returns whether f1 and f2 are the same file (or dir)
+// xsamefile reports whether f1 and f2 are the same file (or dir)
int
xsamefile(char *f1, char *f2)
{