From 43c74056b1764f07acc252e78e1cfa29a49a51c3 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() (cherry picked from commit 7a9998370f0a805a75634f31558abba9c4d74a48) --- 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 4b976c5b068..de957a5ebac 100644 --- a/drivers/gles2/rasterizer_gles2.cpp +++ b/drivers/gles2/rasterizer_gles2.cpp @@ -10998,6 +10998,7 @@ void RasterizerGLES2::finish() { free(default_material); free(shadow_material); + free(shadow_material_double_sided); free(canvas_shadow_blur); free( overdraw_material ); }