dropshadow leak

SVN revision: 80854
This commit is contained in:
Mike Blumenkrantz 2012-12-13 13:57:37 +00:00
parent a111090fa4
commit 0f091f6dd9
1 changed files with 108 additions and 112 deletions

View File

@ -707,6 +707,7 @@ _ds_shadow_recalc(Shadow *sh)
{
Eina_List *l, *ll;
Shpix *sp;
Tilebuf *tb;
int shw, shh, bsz;
int x1, yy1, x2, y2;
@ -726,10 +727,7 @@ _ds_shadow_recalc(Shadow *sh)
}
sp = _ds_shpix_new(shw + (bsz * 2), shh + (bsz * 2));
if (sp)
{
Tilebuf *tb;
if (!sp) return;
_ds_shadow_obj_shutdown(sh);
if (!rects)
{
@ -850,12 +848,10 @@ _ds_shadow_recalc(Shadow *sh)
_ds_shpix_object_set(sp, so->obj,
r->x, r->y, r->w, r->h);
}
_ds_shpix_free(sp);
_tilebuf_free_render_rects(brects);
_tilebuf_free(tb);
}
}
_ds_shpix_free(sp);
}
else
{