Freeing short_path to fix watch leak

This commit is contained in:
Andrew McGoogan 2024-12-12 15:04:34 -08:00
parent 72d9abccd7
commit 8e2c33f10d

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;
}