forked from enlightenment/efl
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:
parent
ce716ff052
commit
76cea1712c
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue