From 5542ba8d5b0350d36a03f786c4693c462a79c399 Mon Sep 17 00:00:00 2001 From: Joel Liang Date: Fri, 1 Dec 2017 15:33:41 +0800 Subject: APPBROWSER-330: Workaround for the free unallocated value issue on Android Added a default destructor in cpp file to workaround the free unallocated value issue on Android Change-Id: I3db84a0504a51b9b90823cbb37aa1cace06870e3 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/111438 Reviewed-by: Frank Lei Reviewed-by: Anthony Barbier Tested-by: BSG Visual Compute Jenkins server to access repositories on http://mpd-gerrit.cambridge.arm.com --- src/core/GLES_COMPUTE/GCKernelLibrary.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/core/GLES_COMPUTE/GCKernelLibrary.cpp') diff --git a/src/core/GLES_COMPUTE/GCKernelLibrary.cpp b/src/core/GLES_COMPUTE/GCKernelLibrary.cpp index f446859a8d..e8c6ad2539 100644 --- a/src/core/GLES_COMPUTE/GCKernelLibrary.cpp +++ b/src/core/GLES_COMPUTE/GCKernelLibrary.cpp @@ -133,6 +133,11 @@ GCKernel::GCKernel() { } +// Add a default destructor in cpp file to workaround the free unallocated value issue on Android +GCKernel::~GCKernel() // NOLINT +{ +} + GCKernel::GCKernel(std::string name, GLuint program) : _name(std::move(name)), _program(program), -- cgit v1.2.1