summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp
diff options
context:
space:
mode:
authorTimo Wiren <timo.wiren@gmail.com>2012-03-24 19:41:13 +0200
committerTimo Wiren <timo.wiren@gmail.com>2012-03-24 19:41:13 +0200
commit11959a378169eec95f868b346ddc9ac72cb92689 (patch)
treeac6248bf47258f4f46a8abb314cb8dae75978ffb /Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp
parentd95e31af3f779bfa3141047e8b6275e1fd2e4bbb (diff)
Matching new and delete.
Diffstat (limited to 'Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp b/Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp
index 0f4809a6cc..8aabf2a066 100644
--- a/Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp
+++ b/Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp
@@ -143,8 +143,8 @@ void TexDecoder_OpenCL_Initialize()
}
}
}
- delete header;
- delete binary;
+ delete [] header;
+ delete [] binary;
}
// If an error occurred using the kernel binary, recompile the kernels