Fix: amd will crash if ecore_x_init() failed 06/11506/1
authorChengwei Yang <chengwei.yang@intel.com>
Tue, 29 Oct 2013 06:16:22 +0000 (14:16 +0800)
committerChengwei Yang <chengwei.yang@intel.com>
Tue, 29 Oct 2013 06:16:22 +0000 (14:16 +0800)
commit68dbf2e3d528846b01cd2c1fa0a2735cc487a4d7
treec8f581be01db3027ec06711333c578f2f0def3ed
parent1c51131aebc64774f5125a5fde65b6be1a58ae5a
Fix: amd will crash if ecore_x_init() failed

if ecore_x_init() failed, then its internal variable _ecore_x_disp is
NULL and will cause crash in _key_init().

Bug: https://bugs.tizen.org/jira/browse/PTREL-137
Change-Id: I116fca62b35cc38a7ff14036ecf726000770f4b0
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
am_daemon/amd_main.c