From 380f08f4ec6653aa4ba3e3d36587a31132706f0e Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Mon, 7 Jun 2010 18:34:13 -0700 Subject: graw: Fix file handle leaks. --- src/gallium/tests/graw/vs-test.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/tests/graw/vs-test.c') diff --git a/src/gallium/tests/graw/vs-test.c b/src/gallium/tests/graw/vs-test.c index e68f9f439b..7f93db42c0 100644 --- a/src/gallium/tests/graw/vs-test.c +++ b/src/gallium/tests/graw/vs-test.c @@ -202,6 +202,7 @@ static void set_vertex_shader( void ) handle = graw_parse_vertex_shader(ctx, buf); ctx->bind_vs_state(ctx, handle); + fclose(f); } static void set_fragment_shader( void ) -- cgit v1.2.3