summaryrefslogtreecommitdiffstats
path: root/src/flood-context.cpp
diff options
context:
space:
mode:
authorJohn Bintz <me@johnbintz.com>2007-02-25 14:51:00 +0000
committerjohncoswell <johncoswell@users.sourceforge.net>2007-02-25 14:51:00 +0000
commitcc759f125f7b03916db66cd6d7e1fcf0ff95b3a6 (patch)
tree3b657a79fd715cf995a42ab34087b07517dbada9 /src/flood-context.cpp
parentForgot to free some of the pixel storage (diff)
downloadinkscape-cc759f125f7b03916db66cd6d7e1fcf0ff95b3a6.tar.gz
inkscape-cc759f125f7b03916db66cd6d7e1fcf0ff95b3a6.zip
Fix g_free crash
(bzr r2437)
Diffstat (limited to 'src/flood-context.cpp')
-rw-r--r--src/flood-context.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flood-context.cpp b/src/flood-context.cpp
index 27df7c311..88435cfd1 100644
--- a/src/flood-context.cpp
+++ b/src/flood-context.cpp
@@ -496,12 +496,12 @@ static void sp_flood_do_flood_fill(SPEventContext *event_context, GdkEvent *even
(GdkPixbufDestroyNotify)g_free,
NULL);
- g_free(trace_px);
-
NR::Matrix inverted_affine = NR::Matrix(affine).inverse();
do_trace(pixbuf, desktop, inverted_affine);
+ g_free(trace_px);
+
sp_document_done(document, SP_VERB_CONTEXT_FLOOD, _("Flood fill"));
}