[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/karbon/core
From:       Rob Buis <rwlbuis () xs4all ! nl>
Date:       2002-12-23 9:58:49
[Download RAW message or body]

CVS commit by buis: 


Thanks to valgrind, a mem leak fix...


  M +5 -0      vcanvas.cc   1.109
  M +1 -0      vcanvas.h   1.40


--- koffice/karbon/core/vcanvas.cc  #1.108:1.109
@@ -59,4 +59,9 @@ VCanvas::VCanvas( KarbonViewBase* view, 
 }
 
+VCanvas::~VCanvas()
+{
+        delete m_pixmap;
+}
+
 void
 VCanvas::setPos( const KoPoint& p )

--- koffice/karbon/core/vcanvas.h  #1.39:1.40
@@ -38,4 +38,5 @@ class VCanvas : public QScrollView
 public:
         VCanvas( KarbonViewBase* view, KarbonPartBase* part );
+        virtual ~VCanvas();
 
         void repaintAll( const KoRect & );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic