1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-04 10:43:08 +01:00

Fix small memory leak in Ruler.cpp

This commit is contained in:
Paul Licameli
2016-02-02 11:47:58 -05:00
parent a0d78b92cd
commit 488ccf143e

View File

@@ -1758,6 +1758,12 @@ AdornedRulerPanel::~AdornedRulerPanel()
wxCommandEventHandler(AdornedRulerPanel::OnCapture),
NULL,
this);
if (mBack)
{
mBackDC.SelectObject(wxNullBitmap);
delete mBack;
}
}
void AdornedRulerPanel::UpdatePrefs()