diff options
author | Yan Wang <yan.wang@linux.intel.com> | 2014-12-09 12:57:52 +0800 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@intel.com> | 2014-12-16 16:06:02 +0800 |
commit | 430284d29039a52f7ccefab33e9fbd6e538f0fdb (patch) | |
tree | 3b00f88181b40d35a45aa7dc4f82d88201b944a9 /utests/utest_helper.cpp | |
parent | bc0febf1f466bb13601c62fd7e8159eda463544d (diff) | |
download | beignet-430284d29039a52f7ccefab33e9fbd6e538f0fdb.tar.gz |
Fix delete operator using.
The 2 delete operators work on array pointer.
Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'utests/utest_helper.cpp')
-rw-r--r-- | utests/utest_helper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utests/utest_helper.cpp b/utests/utest_helper.cpp index 606c1bfc..591054e9 100644 --- a/utests/utest_helper.cpp +++ b/utests/utest_helper.cpp @@ -401,7 +401,7 @@ cl_ocl_init(void) error: if (props) - delete props; + delete[] props; return status; } |