Use eina_rectangle_free to free the rect.

Be sure to increment i here.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83285
This commit is contained in:
Christopher Michael 2013-01-24 09:21:24 +00:00 committed by Christopher Michael
parent 95d6577c2d
commit e1fdc232e1
1 changed files with 4 additions and 1 deletions

View File

@ -415,13 +415,16 @@ evas_swapbuf_flush(Outbuf *ob)
rects[i].h = w;
}
free(rect);
eina_rectangle_free(rect);
#ifdef EVAS_CSERVE2
if (evas_cserve2_use_get())
evas_cache2_image_close(&img->cache_entry);
else
#endif
evas_cache_image_drop(&img->cache_entry);
i++;
}
/* unmap the buffer */