fix leak of fb fd in error event.

SVN revision: 51700
This commit is contained in:
Carsten Haitzler 2010-08-28 14:51:56 +00:00
parent 2e96ecef81
commit 061f22552e
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ _ecore_fb_size_get(int *w, int *h)
{
if (w) *w = 0;
if (h) *h = 0;
close(fb);
return;
}
close(fb);