Fix dereference after NULL 80/78080/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Mon, 4 Jul 2016 08:23:31 +0000 (17:23 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Mon, 4 Jul 2016 08:23:33 +0000 (17:23 +0900)
commit4a1355e66b29d6ddad9b3009ac5eb798b504c6b4
tree4b5eeea23b849656a812f867afa88bab8a5bb8da
parent75b3733f39c267ee1858833d1689632eb1039383
Fix dereference after NULL

After having been compared to NULL value at e_mod_main.c:133, pointer 'text_input->resource' is passed as 1st parameter in call to function 'wl_text_input_send_private_command' at e_mod_main.c:146, where it is dereferenced at text-server-protocol.h:589.

Change-Id: Idf4809eaa23e1531bce0519210f08dab718843c3
src/e_mod_main.c