StackExchange / wmi

WMI for Go
http://godoc.org/github.com/StackExchange/wmi
MIT License
433 stars 173 forks source link

add Release calls for service and result IDispatch object #20

Closed gbrayut closed 7 years ago

gbrayut commented 7 years ago

We notices a memory leak running Scollector on Windows Server 2016. Not sure what changed, but I think there should be Release calls for any IDispatch objects, so adding those and running some tests.

Note this also includes the string slices commit that is already on the next branch. That commit has been tested and is ready to merge.

gbrayut commented 7 years ago

I don't think this helps... closing in favor of adding a better memory test in #21