index 1c715291ffed0dc8b0953ccc7e272dfdd4756b0b..e2bc096793967eb9247481e379efbb330083130e 100644 (file)
* Released under GNU GPL, read the file 'COPYING' for more information
*/
-#include "display-forward.h"
#include "sp-canvas-util.h"
#include "canvas-text.h"
#include "display/inkscape-cairo.h"
SPCanvasText *canvastext = SP_CANVASTEXT (object);
- canvastext->item=NULL;
+ g_free(canvastext->text);
+ canvastext->text = NULL;
+ canvastext->item = NULL;
if (GTK_OBJECT_CLASS (parent_class_ct)->destroy)
(* GTK_OBJECT_CLASS (parent_class_ct)->destroy) (object);
fill-column:99
End:
*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :