ximmodule: check whether pointer is NULL before accessing in xim_preedit_callback_set
authorJihoon Kim <jihoon48.kim@samsung.com>
Tue, 3 Dec 2013 04:32:15 +0000 (13:32 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Tue, 3 Dec 2013 04:32:15 +0000 (13:32 +0900)
commit8fe2ec9d4b6329f1859a975f9909358a5d2263d4
treea646a0bf0f2ba3c04815d86b0f7dcaf38428d061
parentbbf9e38a6dc25b65491bfbd7fe1e75eeff14c343
ximmodule: check whether pointer is NULL before accessing in xim_preedit_callback_set

ecore_imf_context_data_get () can return NULL, so it should be checked before using the result value.

This fixes CID 1135273
src/modules/ecore_imf/xim/ecore_imf_xim.c