mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-13 01:29:02 -05:00
e9d7ebb3ec
All global generator CreateLocalGenerator methods automatically initialize the local generator instances with SetGlobalGenerator. In several places we were calling SetGlobalGenerator again after receiving the return value from CreateLocalGenerator. The double-initializations leaked the resources allocated by the first call to SetGlobalGenerator. This fix removes the unnecessary calls.