summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/lib/elm_access.c
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2014-01-22 10:12:44 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-01-22 10:54:45 +0900
commit43533a2fb9e494f5b31a9917c287d3d2a5a2f5bf (patch)
treef2f0eb1a064eb0de2d2d84ea273afd009b1d8d77 /legacy/elementary/src/lib/elm_access.c
parentc066009c49378e390aa77dfc94cde0f444084645 (diff)
elm: Removed unnecessary null check for eina_stringshare_del.
Diffstat (limited to 'legacy/elementary/src/lib/elm_access.c')
-rw-r--r--legacy/elementary/src/lib/elm_access.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/legacy/elementary/src/lib/elm_access.c b/legacy/elementary/src/lib/elm_access.c
index 68dad7a..3fe5a1c 100644
--- a/legacy/elementary/src/lib/elm_access.c
+++ b/legacy/elementary/src/lib/elm_access.c
@@ -210,7 +210,7 @@ _access_add_set(Elm_Access_Info *ac, int type)
210 { 210 {
211 if (!ai->func) 211 if (!ai->func)
212 { 212 {
213 if (ai->data) eina_stringshare_del(ai->data); 213 eina_stringshare_del(ai->data);
214 } 214 }
215 ai->func = NULL; 215 ai->func = NULL;
216 ai->data = NULL; 216 ai->data = NULL;
@@ -571,7 +571,7 @@ _elm_access_clear(Elm_Access_Info *ac)
571 { 571 {
572 if (!ai->func) 572 if (!ai->func)
573 { 573 {
574 if (ai->data) eina_stringshare_del(ai->data); 574 eina_stringshare_del(ai->data);
575 } 575 }
576 free(ai); 576 free(ai);
577 } 577 }