I found that the memory always get more and more when creating a new component by using LinearGradientBrush for background painting, even the component already disposed.
I try to figure out what cause this problem.
There is probably a reason that.
While using CreateLinearGradientBrush() function in Brush.cpp., it calls CreateGradientStopCollection before CreateLinearGradientBrush but (what ?) did not release it.
I found that the memory always get more and more when creating a new component by using
LinearGradientBrush
for background painting, even the component already disposed. I try to figure out what cause this problem.There is probably a reason that. While using
CreateLinearGradientBrush()
function inBrush.cpp
., it callsCreateGradientStopCollection
beforeCreateLinearGradientBrush
but (what ?) did not release it.