ecore_imf/wayland: Fix memory leak in immodule
authorJihoon Kim <jihoon48.kim@samsung.com>
Mon, 27 Feb 2017 11:28:37 +0000 (20:28 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Mon, 27 Feb 2017 12:31:07 +0000 (21:31 +0900)
commita1da12622053727093754ea6fad53da9d35cba8d
tree07ec6435a4cb514b71831d2c3c9ad0ee64e8686b
parenta2dd9fc99dbddc1c6612381d0544c7ced17965ec
ecore_imf/wayland: Fix memory leak in immodule

==1321== 156 bytes in 1 blocks are definitely lost in loss record 7,687 of 9,703
==1321==    at 0x4847E64: calloc (vg_replace_malloc.c:623)
==1321==    by 0x92EA7E9: wayland_im_context_new (wayland_imcontext.c:1094)
==1321==    by 0x92E66DD: im_module_create (wayland_module.c:132)
==1321==    by 0x4D521E7: ecore_imf_module_context_create (ecore_imf_module.c:152)
==1321==    by 0x4D51EF7: ecore_imf_context_add (ecore_imf_context.c:141)
src/modules/ecore_imf/wayland/wayland_imcontext.c