Fix small memory leak.
This commit is contained in:
parent
060da968eb
commit
57b7ddf592
|
@ -3359,6 +3359,7 @@ bool MainFrame::BindControls()
|
||||||
{
|
{
|
||||||
delete forDeletion[i];
|
delete forDeletion[i];
|
||||||
}
|
}
|
||||||
|
std::vector<wxWindow*>().swap(forDeletion);
|
||||||
#endif // NO_ONLINEUPDATES
|
#endif // NO_ONLINEUPDATES
|
||||||
getrbi("PNG", captureFormat, 0);
|
getrbi("PNG", captureFormat, 0);
|
||||||
getrbi("BMP", captureFormat, 1);
|
getrbi("BMP", captureFormat, 1);
|
||||||
|
|
Loading…
Reference in New Issue