Memory Corruption while deallocating graphics processing unit memory buffers due to improper handling of memory pointers.