diff options
author | amcgoogan <105525867+amcgoogan@users.noreply.github.com> | 2024-12-12 15:23:36 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-13 00:23:36 +0100 |
commit | 88201044ed7432ecd69fc6de6947d76f207bc3bb (patch) | |
tree | 21f0a305c7cba644dff2ac2ccf6375928b5596f3 /src | |
parent | 72d9abccd7d88124f8e9701e64c3469c8f2dea84 (diff) | |
download | libuv-88201044ed7432ecd69fc6de6947d76f207bc3bb.tar.gz libuv-88201044ed7432ecd69fc6de6947d76f207bc3bb.zip |
win: plug uv_fs_event_start memory leak (#4647)
Co-authored-by: Andrew McGoogan <amcgoogan@cribl.io>
Fixes: https://github.com/nodejs/node/issues/52769
Diffstat (limited to 'src')
-rw-r--r-- | src/win/fs-event.c | 2 |
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; } |