progs/fp: close file (bug 26559)
authorBrian Paul <brianp@vmware.com>
Sun, 14 Feb 2010 16:51:49 +0000 (09:51 -0700)
committerBrian Paul <brianp@vmware.com>
Sun, 14 Feb 2010 17:05:42 +0000 (10:05 -0700)
progs/fp/fp-tri.c

index 70676d4c400c14a0b6cb50704e7e56a2a3c04781..e45a799a00eb639d47c367616c7fd99538d1853d 100644 (file)
@@ -188,6 +188,7 @@ static void Init( void )
    }
 
    glClearColor(.1, .3, .5, 0);
+   fclose(f);
 }
 
 static void Reshape(int width, int height)