summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cb7a75e)
raw | patch | inline | side by side (parent: cb7a75e)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Mon, 8 Jan 2007 18:56:07 +0000 (18:56 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Mon, 8 Jan 2007 18:56:07 +0000 (18:56 +0000) |
src/gradient-drag.cpp | patch | blob | history |
diff --git a/src/gradient-drag.cpp b/src/gradient-drag.cpp
index e09bedeee68cb46d88540acc12553fd59fadef1d..aaafce67e4d74d04195551ec6470646decef9b81 100644 (file)
--- a/src/gradient-drag.cpp
+++ b/src/gradient-drag.cpp
@@ -466,7 +466,6 @@ gr_knot_moved_handler(SPKnot *knot, NR::Point const *ppointer, guint state, gpoi
if (snap_vector) {
snap_vectors = g_slist_prepend (snap_vectors, snap_vector);
}
- g_slist_free(snap_vectors);
}
// Move by the smallest of snap vectors:
@@ -480,6 +479,8 @@ gr_knot_moved_handler(SPKnot *knot, NR::Point const *ppointer, guint state, gpoi
p += move;
sp_knot_moveto (knot, &p);
}
+
+ g_slist_free(snap_vectors);
}
dragger->point = p;