summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_fb/ecore_fb.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2010-08-28 14:51:56 +0000
committerCarsten Haitzler <raster@rasterman.com>2010-08-28 14:51:56 +0000
commit061f22552e363fb0ee25366e52a5b3edba123dcc (patch)
tree8b2787ffb12d1980d97392f8f672f590cb2fde81 /legacy/ecore/src/lib/ecore_fb/ecore_fb.c
parent2e96ecef81a13fc9b443bd02e915f2e04dab6f48 (diff)
fix leak of fb fd in error event.
SVN revision: 51700
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore_fb/ecore_fb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/legacy/ecore/src/lib/ecore_fb/ecore_fb.c b/legacy/ecore/src/lib/ecore_fb/ecore_fb.c
index 545e46fe53..3507ed7943 100644
--- a/legacy/ecore/src/lib/ecore_fb/ecore_fb.c
+++ b/legacy/ecore/src/lib/ecore_fb/ecore_fb.c
@@ -101,6 +101,7 @@ _ecore_fb_size_get(int *w, int *h)
101 { 101 {
102 if (w) *w = 0; 102 if (w) *w = 0;
103 if (h) *h = 0; 103 if (h) *h = 0;
104 close(fb);
104 return; 105 return;
105 } 106 }
106 close(fb); 107 close(fb);