memleak in kate part
yurkjes at iit.edu
Wed Aug 7 08:21:53 BST 2002
While looking through katecodefoldinghelpers.cpp I found a memleak.
The KateCodeFoldingTree::KateCodeFoldingTree ctor makes a call to the
KateCodeFoldingNode () ctor which allocates memory for its childnodes, but
KateCodeFoldingTree also allocates memory for these children as well ...
attached is the diff, but I havent had time to set up a 'proper' cvs tree yet.
The patch applies cleanly though ...
Also, I've done a fairly large white-space/indention/style cleanup for
katecodefoldinghelpers.cpp and I was wondering if it was also ok to submit
this patch here as well.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 449 bytes
Desc: not available
More information about the kde-core-devel