summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Andler <scislac@gmail.com>2007-01-08 18:07:40 +0000
committerscislac <scislac@users.sourceforge.net>2007-01-08 18:07:40 +0000
commit19bc4b4b34ee704f46cfad47bf19d4bd15ae852b (patch)
treeccb16165c9cfc599b118b15d03cb862726930916
parentanimated clock added (diff)
downloadinkscape-19bc4b4b34ee704f46cfad47bf19d4bd15ae852b.tar.gz
inkscape-19bc4b4b34ee704f46cfad47bf19d4bd15ae852b.zip
from Johan - fixes a memory leak
(bzr r2160)
-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: