evas_fb: Handling memory leak on realloc failure.
authorSrivardhan Hebbar <sri.hebbar@samsung.com>
Mon, 23 Nov 2015 11:44:27 +0000 (20:44 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Mon, 23 Nov 2015 11:44:28 +0000 (20:44 +0900)
commitecb40c64b5a37d353b75a690010ff8bc72252e4a
treef17e813126b7fbc76c1872ad25802982934cfe6e
parent51a65c970f58af7d62e73e1cd509e15162456fbf
evas_fb: Handling memory leak on realloc failure.

Summary:
I thought its better to fail and return null if realloc fails than to
continue. So returning by closing all openend file.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric, illogict

Differential Revision: https://phab.enlightenment.org/D3232
src/modules/evas/engines/fb/evas_fb_main.c