fix some leaks

SVN revision: 14400
This commit is contained in:
Carsten Haitzler 2005-04-27 08:11:58 +00:00
parent 0f3c218fb3
commit 1e8b4c5f34
2 changed files with 1 additions and 2 deletions

View File

@ -1065,6 +1065,7 @@ _edje_collection_free(Edje_File *edf, Edje_Part_Collection *ec)
evas_hash_free(ec->prog_cache.matches);
}
#endif
if (ec->script) embryo_program_free(ec->script);
free(ec);
}

View File

@ -555,8 +555,6 @@ _edje_text_recalc_apply(Edje *ed, Edje_Real_Part *ep,
if ((_edje_fontset_append) && (font))
{
char *font2;
font2 = malloc(strlen(font) + 1 + strlen(_edje_fontset_append) + 1);
if (font2)
{