changeset 2003:fd842ba40164

FindBar leak
author corvid <corvid@lavabit.com>
date Sun, 08 May 2011 22:50:51 +0000
parents 290120457e42
children dec39f62be1c
files src/ui.cc
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ui.cc	Mon May 02 21:40:00 2011 +0200
+++ b/src/ui.cc	Sun May 08 22:50:51 2011 +0000
@@ -754,6 +754,9 @@
 {
    _MSG("UI::~UI()\n");
    dFree(TabTooltip);
+
+   if (!FindBarSpace)
+      delete FindBar;
 }
 
 /*