From: joncruz Date: Thu, 28 Aug 2008 11:59:25 +0000 (+0000) Subject: Fixed crash due to use of uninitialized pointer X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=144aa0f7a729a36c2b9d8b7d0147b712f4c87ee9;p=inkscape.git Fixed crash due to use of uninitialized pointer --- diff --git a/src/extension/internal/cairo-render-context.cpp b/src/extension/internal/cairo-render-context.cpp index 13302831e..747054c7f 100644 --- a/src/extension/internal/cairo-render-context.cpp +++ b/src/extension/internal/cairo-render-context.cpp @@ -1250,9 +1250,9 @@ bool CairoRenderContext::renderPathVector(Geom::PathVector const & pathv, SPStyle const *style, NRRect const *pbox) { NArtBpath * bpath = BPath_from_2GeomPath (pathv); - const_NRBPath *bp; - bp->path = bpath; - bool retvalue = renderPath(bp, style, pbox); + const_NRBPath bp; + bp.path = bpath; + bool retvalue = renderPath(&bp, style, pbox); g_free(bpath); return retvalue; }