1
0
mirror of https://github.com/libuv/libuv synced 2025-03-28 21:13:16 +00:00

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
This commit is contained in:
amcgoogan 2024-12-12 15:23:36 -08:00 committed by GitHub
parent 72d9abccd7
commit 88201044ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -253,6 +253,8 @@ short_path_done:
}
dir_to_watch = dir;
uv__free(short_path);
short_path = NULL;
uv__free(pathw);
pathw = NULL;
}