From e5394109ddc20d4561e380d2e46a41fa489f89d7 Mon Sep 17 00:00:00 2001 From: johncoswell Date: Sun, 25 Feb 2007 14:51:00 +0000 Subject: [PATCH] Fix g_free crash --- src/flood-context.cpp | 4 ++-- 1 file 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")); } -- 2.30.2