diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-25 22:53:23 +0100 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-03-25 16:43:36 -0600 |
commit | 34b7a86d06eba936c0642bc66ba104e4669d6b01 (patch) | |
tree | b646a9f27fb3fc70aa047dee9cc35c64607707b1 | |
parent | 5be896d25adc77aedd4a5261277e690a34a64697 (diff) | |
download | mana-client-34b7a86d06eba936c0642bc66ba104e4669d6b01.tar.gz mana-client-34b7a86d06eba936c0642bc66ba104e4669d6b01.tar.bz2 mana-client-34b7a86d06eba936c0642bc66ba104e4669d6b01.tar.xz mana-client-34b7a86d06eba936c0642bc66ba104e4669d6b01.zip |
Don't crash cause of deleting a model twice
This reverts commit c2e4a7a70971355f1446bb01053af8a1da8c98e1.
-rw-r--r-- | src/gui/widgets/dropdown.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gui/widgets/dropdown.cpp b/src/gui/widgets/dropdown.cpp index 0015beed..21fee368 100644 --- a/src/gui/widgets/dropdown.cpp +++ b/src/gui/widgets/dropdown.cpp @@ -108,9 +108,6 @@ DropDown::~DropDown() for_each(skin.grid, skin.grid + 9, dtor<Image*>()); } - - gcn::ListModel *listModel = getListModel(); - if (listModel) delete listModel; } void DropDown::draw(gcn::Graphics* graphics) |