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:
parent
72d9abccd7
commit
88201044ed
@ -253,6 +253,8 @@ short_path_done:
|
|||||||
}
|
}
|
||||||
|
|
||||||
dir_to_watch = dir;
|
dir_to_watch = dir;
|
||||||
|
uv__free(short_path);
|
||||||
|
short_path = NULL;
|
||||||
uv__free(pathw);
|
uv__free(pathw);
|
||||||
pathw = NULL;
|
pathw = NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user