diff options
Diffstat (limited to 'src/display/canvas-grid.cpp')
| -rw-r--r-- | src/display/canvas-grid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display/canvas-grid.cpp b/src/display/canvas-grid.cpp index 8d7bdd0e8..15a6452d3 100644 --- a/src/display/canvas-grid.cpp +++ b/src/display/canvas-grid.cpp @@ -270,7 +270,7 @@ CanvasGrid::writeNewGridToRepr(Inkscape::XML::Node * repr, SPDocument * doc, Gri newnode->setAttribute("type", getSVGName(gridtype)); repr->appendChild(newnode); -// Inkscape::GC::release(repr); FIX THIS. THIS SHOULD BE HERE!!! + Inkscape::GC::release(newnode); sp_document_done(doc, SP_VERB_DIALOG_NAMEDVIEW, _("Create new grid")); } |
