summaryrefslogtreecommitdiffstats
path: root/src/extension/internal/grid.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2008-09-20 23:37:34 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2008-09-20 23:37:34 +0000
commitfab52ebd9467ef63f3a0c5ed9c4ab3f379c88b79 (patch)
tree6b09bf6c1cdf41d0b7d928a038605f487ee43a62 /src/extension/internal/grid.cpp
parentfix leak and potential crash by disconnecting on delete (diff)
downloadinkscape-fab52ebd9467ef63f3a0c5ed9c4ab3f379c88b79.tar.gz
inkscape-fab52ebd9467ef63f3a0c5ed9c4ab3f379c88b79.zip
release reprs properly
(bzr r6855)
Diffstat (limited to 'src/extension/internal/grid.cpp')
-rw-r--r--src/extension/internal/grid.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/extension/internal/grid.cpp b/src/extension/internal/grid.cpp
index 729b53cfd..cdd02882a 100644
--- a/src/extension/internal/grid.cpp
+++ b/src/extension/internal/grid.cpp
@@ -124,6 +124,7 @@ Grid::effect (Inkscape::Extension::Effect *module, Inkscape::UI::View::View *doc
path->setAttribute("style", style.c_str());
current_layer->appendChild(path);
+ Inkscape::GC::release(path);
return;
}