From: johncoswell Date: Sun, 25 Feb 2007 14:51:00 +0000 (+0000) Subject: Fix g_free crash X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e5394109ddc20d4561e380d2e46a41fa489f89d7;p=inkscape.git Fix g_free crash --- 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")); }