From cc759f125f7b03916db66cd6d7e1fcf0ff95b3a6 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Sun, 25 Feb 2007 14:51:00 +0000 Subject: Fix g_free crash (bzr r2437) --- src/flood-context.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/flood-context.cpp') 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")); } -- cgit v1.2.3