[Kde-bindings] branches/KDE/3.5/kdebindings/korundum/rubylib/korundum

Caleb Tennis caleb at gentoo.org
Tue Aug 29 12:16:33 UTC 2006


SVN commit 578473 by ctennis:

Fix another memory leak.

CCMAIL: kde-bindings at kde.org



 M  +3 -0      Korundum.cpp  


--- branches/KDE/3.5/kdebindings/korundum/rubylib/korundum/Korundum.cpp #578472:578473
@@ -880,6 +880,9 @@
 	~InvokeDCOPSlot() {
 		delete[] _stack;
 		delete _stream;
+		for(int i=0;i<_items;++i) {
+			free(_sp++);
+		}
 	}
 };
 



More information about the Kde-bindings mailing list