1
0
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:
James Crook
2016-08-19 13:48:23 +01:00
parent 8b90a8f34d
commit 2f54bf197c

View File

@@ -566,7 +566,7 @@ void LWSlider::AdjustSize(const wxSize & sz)
mHeight = sz.GetHeight();
if( mBitmap ){
mBitmap.release();
mBitmap.reset();
}
mThumbWidth = 14;
mThumbHeight = 14;