summaryrefslogtreecommitdiffstats
path: root/src/gradient-drag.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gradient-drag.cpp')
-rw-r--r--src/gradient-drag.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gradient-drag.cpp b/src/gradient-drag.cpp
index 3c3563d8d..e09bedeee 100644
--- a/src/gradient-drag.cpp
+++ b/src/gradient-drag.cpp
@@ -466,6 +466,7 @@ 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: