Fix small memory leak.

This commit is contained in:
Edênis Freindorfer Azevedo 2019-07-17 12:34:59 -03:00 committed by Rafael Kitover
parent 060da968eb
commit 57b7ddf592
1 changed files with 1 additions and 0 deletions

View File

@ -3359,6 +3359,7 @@ bool MainFrame::BindControls()
{
delete forDeletion[i];
}
std::vector<wxWindow*>().swap(forDeletion);
#endif // NO_ONLINEUPDATES
getrbi("PNG", captureFormat, 0);
getrbi("BMP", captureFormat, 1);