summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 23d5bdf)
raw | patch | inline | side by side (parent: 23d5bdf)
author | Diederik van Lierop <mailat-signdiedenrezidotnl> | |
Sat, 20 Feb 2010 22:24:05 +0000 (23:24 +0100) | ||
committer | Diederik van Lierop <mailat-signdiedenrezidotnl> | |
Sat, 20 Feb 2010 22:24:05 +0000 (23:24 +0100) |
src/object-snapper.cpp | patch | blob | history |
diff --git a/src/object-snapper.cpp b/src/object-snapper.cpp
index 671cb66a458871b791f61531ac15791631b9b480..7d79a5e91a7aa0686dd66cf8694604aad3acb154 100644 (file)
--- a/src/object-snapper.cpp
+++ b/src/object-snapper.cpp
@@ -720,7 +720,7 @@ bool Inkscape::ObjectSnapper::GuidesMightSnap() const // almost the same as This
void Inkscape::ObjectSnapper::_clear_paths() const
{
for (std::vector<Inkscape::SnapCandidatePath >::const_iterator k = _paths_to_snap_to->begin(); k != _paths_to_snap_to->end(); k++) {
- g_free(k->path_vector);
+ delete k->path_vector;
}
_paths_to_snap_to->clear();
}