Fix leak on wallpaper_update function.

SVN revision: 25301
This commit is contained in:
Christopher Michael 2006-09-01 17:00:30 +00:00
parent 818e75fb00
commit 743ff19503
1 changed files with 1 additions and 0 deletions

View File

@ -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;