[Bf-blender-cvs] [0a0c2d4] GPencil_FillStrokes: Fix for memory leak in previous commit
Joshua Leung
noreply at git.blender.org
Wed Oct 29 13:44:57 CET 2014
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) */
More information about the Bf-blender-cvs
mailing list