aboutsummaryrefslogtreecommitdiff
path: root/src/core/GLES_COMPUTE/GCKernelLibrary.cpp
diff options
context:
space:
mode:
authorJoel Liang <joel.liang@arm.com>2017-12-01 15:33:41 +0800
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:41:58 +0000
commit5542ba8d5b0350d36a03f786c4693c462a79c399 (patch)
tree0ba27541535702ca703e7b86490dcc76edc78df1 /src/core/GLES_COMPUTE/GCKernelLibrary.cpp
parentd9a9c5034e0e262b0fab8090ae1485025de13736 (diff)
downloadComputeLibrary-5542ba8d5b0350d36a03f786c4693c462a79c399.tar.gz
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 <frank.lei@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com> Tested-by: BSG Visual Compute Jenkins server to access repositories on http://mpd-gerrit.cambridge.arm.com <bsgcomp@arm.com>
Diffstat (limited to 'src/core/GLES_COMPUTE/GCKernelLibrary.cpp')
-rw-r--r--src/core/GLES_COMPUTE/GCKernelLibrary.cpp5
1 files changed, 5 insertions, 0 deletions
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),