You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
jingwood
changed the title
LinearGradientBrush casue memory leak
LinearGradientBrush cause memory leak
Oct 24, 2020
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.The text was updated successfully, but these errors were encountered: