summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/lib/elm_access.c
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2014-01-22 11:08:47 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-01-22 11:13:11 +0900
commit5353aa863c15a7ffdb81a72c987c977447d91bf6 (patch)
tree31f3446c5b8388a54b79b57b74001f7bdfa0c88f /legacy/elementary/src/lib/elm_access.c
parent0d1ac0fa056518ebc84053b8e256b4209fba9e97 (diff)
elm: Removed unnecessary null check for free.
Diffstat (limited to 'legacy/elementary/src/lib/elm_access.c')
-rw-r--r--legacy/elementary/src/lib/elm_access.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/legacy/elementary/src/lib/elm_access.c b/legacy/elementary/src/lib/elm_access.c
index 3fe5a1c..b9dd1de 100644
--- a/legacy/elementary/src/lib/elm_access.c
+++ b/legacy/elementary/src/lib/elm_access.c
@@ -68,7 +68,7 @@ _access_action_callback_call(Evas_Object *obj,
68 if (a && (a->fn[type].cb)) 68 if (a && (a->fn[type].cb))
69 ret = a->fn[type].cb(a->fn[type].user_data, obj, action_info); 69 ret = a->fn[type].cb(a->fn[type].user_data, obj, action_info);
70 70
71 if (ai) free(ai); 71 free(ai);
72 72
73 return ret; 73 return ret;
74} 74}
@@ -738,7 +738,7 @@ _elm_access_read(Elm_Access_Info *ac, int type, const Evas_Object *obj)
738 } 738 }
739 } 739 }
740 } 740 }
741 if (txt) free(txt); 741 free(txt);
742} 742}
743 743
744EAPI void 744EAPI void
@@ -1118,7 +1118,7 @@ _elm_access_object_unregister(Evas_Object *obj, Evas_Object *hoverobj)
1118 Action_Info *a; 1118 Action_Info *a;
1119 a = evas_object_data_get(obj, "_elm_access_action_info"); 1119 a = evas_object_data_get(obj, "_elm_access_action_info");
1120 evas_object_data_del(obj, "_elm_access_action_info"); 1120 evas_object_data_del(obj, "_elm_access_action_info");
1121 if (a) free(a); 1121 free(a);
1122} 1122}
1123 1123
1124EAPI void 1124EAPI void