aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2013-01-23 10:14:09 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2013-01-23 10:14:09 +0000
commit597cc91a385394b79907b0c3e8f670ca162ea858 (patch)
treec49e6dbe2d97e9bb4b2fcb6044ae02b427226613
parent8d018a4375bcbe7531279d51fb35a4e7c822460e (diff)
downloadenlightenment-597cc91a385394b79907b0c3e8f670ca162ea858.tar.gz
enlightenment-597cc91a385394b79907b0c3e8f670ca162ea858.tar.xz
enlightenment-597cc91a385394b79907b0c3e8f670ca162ea858.zip
strdup->strdupa in wp2
SVN revision: 83146
-rw-r--r--src/modules/conf_wallpaper2/e_int_config_wallpaper.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/conf_wallpaper2/e_int_config_wallpaper.c b/src/modules/conf_wallpaper2/e_int_config_wallpaper.c
index d146ce2a8..1a8bfbe34 100644
--- a/src/modules/conf_wallpaper2/e_int_config_wallpaper.c
+++ b/src/modules/conf_wallpaper2/e_int_config_wallpaper.c
@@ -705,12 +705,11 @@ _pan_sel(Evas_Object *obj, Item *it)
if (p)
{
p++;
- name = strdup(p);
+ name = strdupa(p);
p = strrchr(name, '.');
if (p) *p = 0;
}
edje_object_part_text_set(sd->info->bg, "e.text.filename", name);
- free(name);
}
else
{