diff options
author | Junyan He <junyan.he@intel.com> | 2016-04-21 12:10:57 +0800 |
---|---|---|
committer | Junyan He <junyan.he@intel.com> | 2016-04-21 12:10:57 +0800 |
commit | 560f88cc2d873706dffa8a2f7791683d19674b4d (patch) | |
tree | 739d4b6d2aae3e72744b7bf3a962be9d82664925 | |
parent | ab87bcb8e1114a8a53e423ce040868e5b179919a (diff) |
add init
-rw-r--r-- | libclapi/cl_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libclapi/cl_alloc.c b/libclapi/cl_alloc.c index b6d5dd7a..823e6660 100644 --- a/libclapi/cl_alloc.c +++ b/libclapi/cl_alloc.c @@ -63,7 +63,7 @@ static void insert_alloc_log_item(void* ptr, size_t sz, char* file, int line) slot = (slot>>5) & 0x07; assert(slot < 8); - cl_alloc_log_item it = malloc(sizeof(cl_alloc_log_item)); + cl_alloc_log_item it = malloc(sizeof(_cl_alloc_log_item)); assert(it); it->ptr = ptr; it->size = sz; |