Commit: 0a0c2d48d542b3c3f2943bd31e7715c7a70d0733
Author: Joshua Leung
Date:   Mon Oct 27 23:56:03 2014 +1300
Branches: GPencil_FillStrokes
https://developer.blender.org/rB0a0c2d48d542b3c3f2943bd31e7715c7a70d0733

Fix for memory leak in previous commit

===================================================================

M       source/blender/editors/gpencil/drawgpencil.c

===================================================================

diff --git a/source/blender/editors/gpencil/drawgpencil.c 
b/source/blender/editors/gpencil/drawgpencil.c
index 19b4719..6f05951 100644
--- a/source/blender/editors/gpencil/drawgpencil.c
+++ b/source/blender/editors/gpencil/drawgpencil.c
@@ -197,6 +197,7 @@ static void gp_draw_stroke_volumetric(bGPDspoint *points, 
int totpoints, short t
        }
        
        glPopMatrix();
+       gluDeleteQuadric(qobj);
 }
 
 /* draw a given stroke - just a single dot (only one point) */

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to