From 6e5d89bf9595648fcebcf76fd031ba1ea022d397 Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Date: Fri, 9 Mar 2018 00:50:57 +0100 Subject: Fixing refs --- src/object/sp-tref.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/object/sp-tref.cpp') diff --git a/src/object/sp-tref.cpp b/src/object/sp-tref.cpp index dd44c5855..eae852a89 100644 --- a/src/object/sp-tref.cpp +++ b/src/object/sp-tref.cpp @@ -482,7 +482,6 @@ sp_tref_convert_to_tspan(SPObject *obj) new_tspan->updateRepr(); // Hold onto our SPObject and repr for now. - sp_object_ref(tref, NULL); Inkscape::GC::anchor(tref_repr); // Remove ourselves, not propagating delete events to avoid a @@ -495,7 +494,6 @@ sp_tref_convert_to_tspan(SPObject *obj) // Establish the succession and let go of our object. tref->setSuccessor(new_tspan); - sp_object_unref(tref, NULL); } } //////////////////// -- cgit v1.2.3