aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/win/fs-event.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/win/fs-event.c b/src/win/fs-event.c
index 7ab407e0..73e0de8e 100644
--- a/src/win/fs-event.c
+++ b/src/win/fs-event.c
@@ -253,6 +253,8 @@ short_path_done:
}
dir_to_watch = dir;
+ uv__free(short_path);
+ short_path = NULL;
uv__free(pathw);
pathw = NULL;
}