Fix some small errors that valgrind found
This commit is contained in:
parent
36cdf0e13d
commit
dc63304c69
|
@ -3197,7 +3197,7 @@ void MainFrame::set_global_accels()
|
|||
// set the table on the panel, where focus usually is
|
||||
// otherwise accelerators are lost sometimes
|
||||
panel->SetAcceleratorTable(atab);
|
||||
delete tab;
|
||||
delete[] tab;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -57,7 +57,7 @@ class MainFrame;
|
|||
class wxvbamApp : public wxApp
|
||||
{
|
||||
public:
|
||||
wxvbamApp() : wxApp(), pending_fullscreen(false) {}
|
||||
wxvbamApp() : wxApp(), pending_fullscreen(false),cfg(NULL),overrides(NULL),frame(NULL) {}
|
||||
virtual bool OnInit();
|
||||
virtual void OnInitCmdLine(wxCmdLineParser &);
|
||||
virtual bool OnCmdLineParsed(wxCmdLineParser &);
|
||||
|
|
Loading…
Reference in New Issue