mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Change release to reset in ASlider to fix memory leak.
Thanks Paul for alerting me to this.
This commit is contained in:
@@ -566,7 +566,7 @@ void LWSlider::AdjustSize(const wxSize & sz)
|
||||
mHeight = sz.GetHeight();
|
||||
|
||||
if( mBitmap ){
|
||||
mBitmap.release();
|
||||
mBitmap.reset();
|
||||
}
|
||||
mThumbWidth = 14;
|
||||
mThumbHeight = 14;
|
||||
|
||||
Reference in New Issue
Block a user