Author: Carlos Lopez <[email protected]>
Date:   Tue Mar 12 20:02:58 2013 +0100

WorkAreaTarget_Cairo_Tile: when the tile is added destroy the Cairo context

---

 synfig-studio/src/gui/workarea.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/synfig-studio/src/gui/workarea.cpp 
b/synfig-studio/src/gui/workarea.cpp
index 1db9fb5..d82e21b 100644
--- a/synfig-studio/src/gui/workarea.cpp
+++ b/synfig-studio/src/gui/workarea.cpp
@@ -299,6 +299,7 @@ public:
                        cairo_t* 
cr=cairo_create(workarea->cairo_book[index].surface);
                        cairo_set_source_surface(cr, tile_surface, 0, 0);
                        cairo_paint_with_alpha(cr, 
255/(onion_layers-onion_skin_queue.size()+1));
+                       cairo_destroy(cr);
                }
                
                workarea->queue_draw();


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to