fix memleak
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Tue, 10 Jan 2006 14:21:06 +0000 (14:21 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Tue, 10 Jan 2006 14:21:06 +0000 (14:21 +0000)
lib/gui/elistboxcontent.cpp

index d72b21bcd05a3a1e2ea1930245a6893f4a3c62e7..ae66e40a1232edbb8ed03970aeccbc00eb06a193 100644 (file)
@@ -260,6 +260,7 @@ eListboxPythonStringContent::eListboxPythonStringContent()
 
 eListboxPythonStringContent::~eListboxPythonStringContent()
 {
 
 eListboxPythonStringContent::~eListboxPythonStringContent()
 {
+       Py_XDECREF(m_list);
 }
 
 void eListboxPythonStringContent::cursorHome()
 }
 
 void eListboxPythonStringContent::cursorHome()