I am using a third-party COM control, he can pass a function returns a two-dimensional SAFEARRAY array, I use after the completion of the call SAFEArrayDestroy function, but as if the memory is not released, memory have been growing, what problem, what a great god, please give directions,
CodePudding user response:
Always use a separate process calls have a memory leak COM controls,
CodePudding user response:
Run many times or for a long time after the comparison, a single short is not representative for leaks