Avoid potential memleak on rotation of tilebuf.

Port of 70f443d8a8 to wayland egl

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-08-29 08:24:10 +01:00
parent ce716ff052
commit 76cea1712c
1 changed files with 1 additions and 0 deletions

View File

@ -823,6 +823,7 @@ eng_setup(Evas *evas, void *info)
return 0;
}
if (re->tb) evas_common_tilebuf_free(re->tb);
re->tb = evas_common_tilebuf_new(re->win->w, re->win->h);
if (!re->tb)
{