config: free up memory when removing projects

This commit is contained in:
Andy Williams 2015-05-18 17:56:21 +01:00
parent 1bcb2cbf95
commit c65ac2e5c3
1 changed files with 4 additions and 0 deletions

View File

@ -359,6 +359,10 @@ _edi_config_project_remove(const char *path)
_edi_config->projects = eina_list_remove(_edi_config->projects, project);
_edi_config_save();
eina_stringshare_del(project->path);
eina_stringshare_del(project->name);
free(project);
}
void