From 7a9998370f0a805a75634f31558abba9c4d74a48 Mon Sep 17 00:00:00 2001 From: MSC Date: Sun, 3 Apr 2016 19:24:14 +0200 Subject: [PATCH] free Material 'shadow_material_double_sided' on ::finish() --- drivers/gles2/rasterizer_gles2.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gles2/rasterizer_gles2.cpp b/drivers/gles2/rasterizer_gles2.cpp index 1568d93af73..373de2bb228 100644 --- a/drivers/gles2/rasterizer_gles2.cpp +++ b/drivers/gles2/rasterizer_gles2.cpp @@ -11050,6 +11050,7 @@ void RasterizerGLES2::finish() { free(default_material); free(shadow_material); + free(shadow_material_double_sided); free(canvas_shadow_blur); free( overdraw_material ); }