What problems are there if memory allocated by malloc(), C-Library function, is not freed?
A COM program uses old C module using C-Library function. But the module has some problems on memory allocation and deallocation. Sometimes it doesn't deallocate heap memory.
Does COM library automatically free this memory when an instance is destroyed?

I'm confused with thread & COM instance.
I know that a thread doesn't release own heap memory when destroyed.
A COM instance doesn't too?

I'll wait for your kindness.


A programmer who loves Goethe.