diff options
Diffstat (limited to 'src/FbTk')
-rw-r--r-- | src/FbTk/MultiButtonMenuItem.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/FbTk/MultiButtonMenuItem.cc b/src/FbTk/MultiButtonMenuItem.cc index 1b61a99..f5b9990 100644 --- a/src/FbTk/MultiButtonMenuItem.cc +++ b/src/FbTk/MultiButtonMenuItem.cc | |||
@@ -41,8 +41,7 @@ MultiButtonMenuItem::MultiButtonMenuItem(int buttons, const FbTk::BiDiString &la | |||
41 | } | 41 | } |
42 | 42 | ||
43 | MultiButtonMenuItem::~MultiButtonMenuItem() { | 43 | MultiButtonMenuItem::~MultiButtonMenuItem() { |
44 | if (m_button_exe != 0) | 44 | delete [] m_button_exe; |
45 | delete [] m_button_exe; | ||
46 | } | 45 | } |
47 | 46 | ||
48 | void MultiButtonMenuItem::setCommand(int button, FbTk::RefCount<FbTk::Command<void> > &cmd) { | 47 | void MultiButtonMenuItem::setCommand(int button, FbTk::RefCount<FbTk::Command<void> > &cmd) { |