From 8a56fec2e0a79b0fc2ff5b447db384d6c786c6db Mon Sep 17 00:00:00 2001 From: johanengelen Date: Mon, 8 Jan 2007 18:56:07 +0000 Subject: [PATCH] :) Wrong line Josh :D --- src/gradient-drag.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gradient-drag.cpp b/src/gradient-drag.cpp index e09bedeee..aaafce67e 100644 --- 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; -- 2.30.2