[gegl] Made the stamp mask for stroking the path static.



commit b3cb426e5698f8410e8e3f0b840001b3956adad6
Author: �yvind Kolås <pippin gimp org>
Date:   Sat Nov 28 02:17:21 2009 +0000

    Made the stamp mask for stroking the path static.
    
    Fixes a leak but makes this visually break for mp.

 gegl/property-types/gegl-path.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gegl/property-types/gegl-path.c b/gegl/property-types/gegl-path.c
index 7d94c4a..88c8a9a 100644
--- a/gegl/property-types/gegl-path.c
+++ b/gegl/property-types/gegl-path.c
@@ -1961,7 +1961,7 @@ static void gegl_path_stamp (GeglBuffer *buffer,
                              gdouble     opacity)
 {
   gfloat col[4];
-  StampStatic s = {FALSE,}; /* XXX: 
+  static StampStatic s = {FALSE,}; /* XXX: 
                                       we will ultimately leak the last valid
                                       cached brush. */
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]