diff options
author | Robin Gareus <robin@gareus.org> | 2014-06-15 13:04:47 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-06-15 13:24:41 +0200 |
commit | 36be1a3a9b38cddfd36137ef4d39382dc61de5fb (patch) | |
tree | 18ae56e66a8eaad92ee244d6bc45d9bf8a7e2c21 /libs/gtkmm2ext/gtk_ui.cc | |
parent | 51cbf674d30f55e0b7a41504e72df929864161fc (diff) |
plug some leaks
Diffstat (limited to 'libs/gtkmm2ext/gtk_ui.cc')
-rw-r--r-- | libs/gtkmm2ext/gtk_ui.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/gtkmm2ext/gtk_ui.cc b/libs/gtkmm2ext/gtk_ui.cc index 294c004a06..6a490e1bb0 100644 --- a/libs/gtkmm2ext/gtk_ui.cc +++ b/libs/gtkmm2ext/gtk_ui.cc @@ -70,6 +70,7 @@ template class AbstractUI<Gtkmm2ext::UIRequest>; UI::UI (string namestr, int *argc, char ***argv) : AbstractUI<UIRequest> (namestr) , _receiver (*this) + , errors (0) { theMain = new Main (argc, argv); @@ -124,6 +125,7 @@ UI::UI (string namestr, int *argc, char ***argv) UI::~UI () { _receiver.hangup (); + delete (errors); } bool |