Skip to content
Permalink
Browse files

Fix small memory leak.

  • Loading branch information
denisfa authored and rkitover committed Jul 17, 2019
1 parent 060da96 commit 57b7ddf592eec54d7208d34df758bd1fffcd2a40
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/wx/guiinit.cpp
@@ -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);

0 comments on commit 57b7ddf

Please sign in to comment.
You can’t perform that action at this time.