microsoft / SCXcore

System Center Cross Platform Provider for Operations Manager
Microsoft Public License
36 stars 31 forks source link

Resolve memory leak in RunAs provider (SCXThread object leaking) #49

Closed jeffaco closed 8 years ago

jeffaco commented 8 years ago

Commit hash 0921ef7 (back in 2013) incorporated a memory leak of the SCXThread object. This was "fixed" in f004d08, which was supposed to roll back other changes to the SCX_OperatingSystem_Class_Provider.cxx and then fix the bug.

However, it turns out that the fixes never made it past the rollback. This commit fixes those leaks for real.

@Microsoft/ostc-devs

Note: I have some test files that will be checked in tomorrow. I want to get this in for tonight's build.

niroyb commented 8 years ago

Signed off