aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/lib/elm_win.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_win.c
parentelm: Removed unnecessary null check for eina_list_free. (diff)
downloadefl-5353aa863c15a7ffdb81a72c987c977447d91bf6.tar.gz
elm: Removed unnecessary null check for free.
Diffstat (limited to 'legacy/elementary/src/lib/elm_win.c')
-rw-r--r--legacy/elementary/src/lib/elm_win.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c
index 6b4eb874ee..3ef1daca58 100644
--- a/legacy/elementary/src/lib/elm_win.c
+++ b/legacy/elementary/src/lib/elm_win.c
@@ -491,8 +491,8 @@ _shot_do(Elm_Win_Smart_Data *sd)
file, key, flags);
}
free(file);
- if (key) free(key);
- if (flags) free(flags);
+ free(key);
+ free(flags);
ecore_evas_free(ee);
if (sd->shot.repeat_count) sd->shot.shot_counter++;
}