diff options
author | Max Horn | 2007-04-15 19:03:25 +0000 |
---|---|---|
committer | Max Horn | 2007-04-15 19:03:25 +0000 |
commit | f8067d54e53084c9fd7ef848fd855967d0641465 (patch) | |
tree | db39c44a61351a5875a2e6d5ef1f0d6c8d8d317b /gui/widget.cpp | |
parent | aecd100f93cf0d475092acefe37bff8c5d55b881 (diff) | |
download | scummvm-rg350-f8067d54e53084c9fd7ef848fd855967d0641465.tar.gz scummvm-rg350-f8067d54e53084c9fd7ef848fd855967d0641465.tar.bz2 scummvm-rg350-f8067d54e53084c9fd7ef848fd855967d0641465.zip |
Fixing some memory leaks in the GUI code
svn-id: r26515
Diffstat (limited to 'gui/widget.cpp')
-rw-r--r-- | gui/widget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/widget.cpp b/gui/widget.cpp index a7bc7cc48b..dcf9156165 100644 --- a/gui/widget.cpp +++ b/gui/widget.cpp @@ -58,6 +58,7 @@ void Widget::resize(int x, int y, int w, int h) { Widget::~Widget() { delete _next; + _next = 0; } void Widget::draw() { |