[qet] [4486] Memory Leak Fix, thanks Mehdi

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 4486
Author:   scorpio810
Date:     2016-05-16 10:17:22 +0200 (Mon, 16 May 2016)
Log Message:
-----------
Memory Leak Fix, thanks Mehdi

Modified Paths:
--------------
    trunk/sources/qetgraphicsitem/customelement.cpp

Modified: trunk/sources/qetgraphicsitem/customelement.cpp
===================================================================
--- trunk/sources/qetgraphicsitem/customelement.cpp	2016-05-15 18:29:58 UTC (rev 4485)
+++ trunk/sources/qetgraphicsitem/customelement.cpp	2016-05-16 08:17:22 UTC (rev 4486)
@@ -197,6 +197,8 @@
 	qDeleteAll (list_circles_);
 	qDeleteAll (list_polygons_);
 	qDeleteAll (list_arcs_);
+	qDeleteAll (list_texts_);
+	qDeleteAll (list_terminals);
 }
 
 /// @return la liste des bornes de cet element


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/