From 00b3049aad7afac3fd4e410fec5149fe95c24c6b Mon Sep 17 00:00:00 2001 From: vlj Date: Mon, 4 Aug 2014 01:26:35 +0200 Subject: [PATCH] Forget to delete 2nd order SH coefficient arrays. --- src/graphics/render_skybox.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/graphics/render_skybox.cpp b/src/graphics/render_skybox.cpp index ab2287613..6d9c2b806 100644 --- a/src/graphics/render_skybox.cpp +++ b/src/graphics/render_skybox.cpp @@ -370,6 +370,11 @@ static void testSH(unsigned char *color[6], size_t width, size_t height, delete[] Y1minus1[face]; delete[] Y10[face]; delete[] Y11[face]; + delete[] Y2minus2[face]; + delete[] Y2minus1[face]; + delete[] Y20[face]; + delete[] Y21[face]; + delete[] Y22[face]; } }