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>
diff --git a/arm_compute/core/GLES_COMPUTE/GCKernelLibrary.h b/arm_compute/core/GLES_COMPUTE/GCKernelLibrary.h
index 9a5376c..db2d979 100644
--- a/arm_compute/core/GLES_COMPUTE/GCKernelLibrary.h
+++ b/arm_compute/core/GLES_COMPUTE/GCKernelLibrary.h
@@ -103,6 +103,9 @@
      * @param[in] program Built program.
      */
     GCKernel(std::string name, GLuint program);
+    /** Destructor.
+     */
+    ~GCKernel();
     /** Returns kernel name.
      *
      * @return Kernel's name.
diff --git a/src/core/GLES_COMPUTE/GCKernelLibrary.cpp b/src/core/GLES_COMPUTE/GCKernelLibrary.cpp
index f446859..e8c6ad2 100644
--- a/src/core/GLES_COMPUTE/GCKernelLibrary.cpp
+++ b/src/core/GLES_COMPUTE/GCKernelLibrary.cpp
@@ -133,6 +133,11 @@
 {
 }
 
+// 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),