Joseph Galbraith wrote: > Does this leak SymlinkW ? No, SymLinkW just becomes a pointer to the static unicode string buffer in the Teb structure. It doesn't point to memory that was allocated dynamically. Best Regards, Thomas