forked from enlightenment/enlightenment
Fix leak on wallpaper_update function.
SVN revision: 25301
This commit is contained in:
parent
818e75fb00
commit
743ff19503
|
@ -67,6 +67,7 @@ e_int_config_wallpaper_update(E_Config_Dialog *dia, char *file)
|
|||
cfdata->fmdir = 1;
|
||||
e_widget_radio_toggle_set(cfdata->o_personal, 1);
|
||||
snprintf(path, sizeof(path), "%s/.e/e/backgrounds", homedir);
|
||||
E_FREE(homedir);
|
||||
E_FREE(cfdata->bg);
|
||||
cfdata->bg = strdup(file);
|
||||
cfdata->use_theme_bg = 0;
|
||||
|
|
Loading…
Reference in New Issue