wmi icon indicating copy to clipboard operation
wmi copied to clipboard

Possible memory leak in coinitService for CallMethod

Open yusufozturk opened this issue 3 years ago • 1 comments

image

If oleutil.CallMethod returns error, which is very possible in a high WMI load situations, then we do not release "wmi" or "unknown" objects. Also we are not able to call ole.CoUninitialize() anymore.

yusufozturk avatar Jul 13 '21 07:07 yusufozturk

@yusufozturk based on https://github.com/influxdata/telegraf/issues/6807#issuecomment-590256733 would you know how to fix this? I am not a go programmer but willing to test.

jesus-velez avatar Jan 06 '22 22:01 jesus-velez