Mesa (master): progs/fp: close file (bug 26559)

Brian Paul brianp at kemper.freedesktop.org
Sun Feb 14 17:06:32 UTC 2010


Module: Mesa
Branch: master
Commit: e84eec0003d162594c3468dc7774c2b7df9fcae2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e84eec0003d162594c3468dc7774c2b7df9fcae2

Author: Brian Paul <brianp at vmware.com>
Date:   Sun Feb 14 09:51:49 2010 -0700

progs/fp: close file (bug 26559)

---

 progs/fp/fp-tri.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/progs/fp/fp-tri.c b/progs/fp/fp-tri.c
index 70676d4..e45a799 100644
--- a/progs/fp/fp-tri.c
+++ b/progs/fp/fp-tri.c
@@ -188,6 +188,7 @@ static void Init( void )
    }
 
    glClearColor(.1, .3, .5, 0);
+   fclose(f);
 }
 
 static void Reshape(int width, int height)




More information about the mesa-commit mailing list