From: johanengelen Date: Mon, 8 Jan 2007 18:56:07 +0000 (+0000) Subject: :) Wrong line Josh :D X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8a56fec2e0a79b0fc2ff5b447db384d6c786c6db;p=inkscape.git :) Wrong line Josh :D --- 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;