From 20653ebe8f5ff2a92809249dfbe355b54c9feb40 Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Thu, 28 Aug 2008 11:59:25 +0000 Subject: Fixed crash due to use of uninitialized pointer (bzr r6718) --- src/extension/internal/cairo-render-context.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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; } -- cgit v1.2.3