mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-05-09 09:36:30 +00:00
Fix majors memory leaks (TODO: shared_ptr for Game objects and implement ~Game())
This commit is contained in:
parent
8f1e8fa106
commit
a8c59c41bc
12 changed files with 40 additions and 4 deletions
src/base_tab
|
@ -1,11 +1,12 @@
|
|||
#include "gamebase/GameBase.hpp"
|
||||
|
||||
class AppendGameDialog : public DialogAppendGame {
|
||||
GameBase *base;
|
||||
GameBase *base; // Should not be destroy
|
||||
std::vector<TabInfos *> tinfos;
|
||||
|
||||
public:
|
||||
AppendGameDialog(wxWindow *parent, GameBase *base);
|
||||
void OnCancel(wxCommandEvent &event);
|
||||
void OnImport(wxCommandEvent &event);
|
||||
void OnClose(wxCloseEvent &e);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue