summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas/ecore_evas_buffer.c
diff options
context:
space:
mode:
authorJihoon Kim <jihoon48.kim@samsung.com>2013-11-29 13:53:47 +0900
committerJihoon Kim <jihoon48.kim@samsung.com>2013-11-29 13:53:47 +0900
commit50e74f02d47aa70e346d6300c5adc637243bd0eb (patch)
tree5c70e166d6203eeb79c1b9491721fd62c8d0a4a3 /src/lib/ecore_evas/ecore_evas_buffer.c
parentd9e7615a52be7c1a4cf6c72ca1df92ef8488d1ae (diff)
ecore_evas: fix wrong check in _ecore_evas_buffer_msg_send
'if (!child_ee)' implies that "child_ee" is equal to NULL, but child_ee is used in the nest of if statement. This fixes CID 1039431
Diffstat (limited to 'src/lib/ecore_evas/ecore_evas_buffer.c')
-rw-r--r--src/lib/ecore_evas/ecore_evas_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_evas/ecore_evas_buffer.c b/src/lib/ecore_evas/ecore_evas_buffer.c
index a3cd572475..c49b5d2a5a 100644
--- a/src/lib/ecore_evas/ecore_evas_buffer.c
+++ b/src/lib/ecore_evas/ecore_evas_buffer.c
@@ -507,7 +507,7 @@ _ecore_evas_buffer_msg_send(Ecore_Evas *ee, int msg_domain, int msg_id, void *da
507 Ecore_Evas *child_ee = NULL; 507 Ecore_Evas *child_ee = NULL;
508 child_ee = ecore_evas_data_get(ee, "child"); 508 child_ee = ecore_evas_data_get(ee, "child");
509 509
510 if (!child_ee) 510 if (child_ee)
511 { 511 {
512 if (child_ee->func.fn_msg_handle) 512 if (child_ee->func.fn_msg_handle)
513 child_ee->func.fn_msg_handle(child_ee, msg_domain, msg_id, data, size); 513 child_ee->func.fn_msg_handle(child_ee, msg_domain, msg_id, data, size);