[Kde-bindings] KDE/kdebindings/qtruby/rubylib/qtruby

Caleb Tennis caleb at gentoo.org
Mon Aug 28 19:21:42 UTC 2006


SVN commit 578250 by ctennis:

Clean up a small mem leak (will backport to 3.5 branch)

CCMAIL: kde-bindings at kde.org



 M  +1 -0      handlers.cpp  


--- trunk/KDE/kdebindings/qtruby/rubylib/qtruby/handlers.cpp #578249:578250
@@ -588,6 +588,7 @@
     Smoke::Index ccMeth = o->smoke->findMethod(o->classId, ccId);
 
     if(!ccMeth) {
+	delete[] ccArg;
 	return 0;
     }
 	Smoke::Index method = o->smoke->methodMaps[ccMeth].method;



More information about the Kde-bindings mailing list