Fix alloc-dealloc-mismatch defect 86/173786/1
authorJi-hoon Lee <dalton.lee@samsung.com>
Mon, 26 Mar 2018 02:31:48 +0000 (11:31 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Mon, 26 Mar 2018 02:39:41 +0000 (11:39 +0900)
commit52fa6c893d18e55046d130b0e6d3a10ae7744417
tree0d3431fdc40626b3d7b375d2cf3b32f320eb0135
parent2822fe5ebae61d905ecd224a1b26a2acba6ea410
Fix alloc-dealloc-mismatch defect

Since the capi callbacks are implemented in C style,
it is more appropriate to use free() instead of
delete / delete[] for releasing the pointer value that contains
dynamically-allocated memory returned from callback funtions.

Change-Id: I26bad5fe5213f1f75e52ec32592369cbd60210b0
ism/src/scim_helper.cpp