summaryrefslogtreecommitdiff
path: root/src/gallium/tests/graw/fs-test.c
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-06-07 18:34:13 -0700
committerVinson Lee <vlee@vmware.com>2010-06-07 18:34:13 -0700
commit380f08f4ec6653aa4ba3e3d36587a31132706f0e (patch)
tree37629930c2c087a5be38e8e2e63d11aca86eb1bc /src/gallium/tests/graw/fs-test.c
parentd09271d6ef5fd3ddb0fade7865d40d5c43f9c069 (diff)
graw: Fix file handle leaks.
Diffstat (limited to 'src/gallium/tests/graw/fs-test.c')
-rw-r--r--src/gallium/tests/graw/fs-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/tests/graw/fs-test.c b/src/gallium/tests/graw/fs-test.c
index d1c29b90b8..3389efb7ca 100644
--- a/src/gallium/tests/graw/fs-test.c
+++ b/src/gallium/tests/graw/fs-test.c
@@ -223,6 +223,7 @@ static void set_fragment_shader( const char *filename )
handle = graw_parse_fragment_shader(ctx, buf);
ctx->bind_fs_state(ctx, handle);
+ fclose(f);
}