summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJunyan He <junyan.he@intel.com>2016-04-27 18:04:15 +0800
committerJunyan He <junyan.he@intel.com>2016-04-27 18:04:15 +0800
commit6eaaaaeed4cee6c5d9e5e345162864c79a1de751 (patch)
tree194f73ecde06ae158d19c10052d570b5e3a61e9d /src
parent8c7d57dad366c0ccedb2c1ace1bc61836b99b2bf (diff)
add info
Diffstat (limited to 'src')
-rw-r--r--src/cl_mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cl_mem.c b/src/cl_mem.c
index 5d28fa92..ce53037c 100644
--- a/src/cl_mem.c
+++ b/src/cl_mem.c
@@ -1227,7 +1227,7 @@ cl_mem_delete(cl_mem mem)
free(mem->mapped_ptr);
if (mem->dstr_cb) {
- cl_mem_dstr_cb *cb = mem->dstr_cb;
+ cl_mem_dstr_cb cb = mem->dstr_cb;
while (mem->dstr_cb) {
cb = mem->dstr_cb;
cb->pfn_notify(mem, cb->user_data);