Hi, attached is a patch, that solves major memory leak. Drawing requests wasn't fully destroyed after each redraw.
-- Tomáš Bláha e-mail: tomas.blaha at kapsa.cz JabberID: tomiiik at jabber.cz ICQ: 76239430
diff -Nur trunk/src/display/drawing_request.hxx trunk.new/src/display/drawing_request.hxx --- trunk/src/display/drawing_request.hxx 2005-09-27 11:17:32.000000000 +0200 +++ trunk.new/src/display/drawing_request.hxx 2005-10-16 21:30:17.000000000 +0200 @@ -32,6 +32,7 @@ CL_Vector pos; public: DrawingRequest(const CL_Vector& pos_) : pos(pos_) {} + virtual ~DrawingRequest() {}; virtual void draw(CL_GraphicContext* gc) = 0;
_______________________________________________ Pingus-Devel mailing list Pingus-Devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/pingus-devel