diff options
-rw-r--r-- | src/mesa/slang/slang_link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/slang/slang_link.c b/src/mesa/slang/slang_link.c index 955ee79ed86..00c2c13cc67 100644 --- a/src/mesa/slang/slang_link.c +++ b/src/mesa/slang/slang_link.c @@ -222,7 +222,7 @@ link_varying_vars(GLcontext *ctx, struct gl_shader_program *shProg, struct gl_program *prog) { GLuint *map, i, firstSrcVarying, firstDstVarying, newSrcFile, newDstFile; - GLbitfield *inOutFlags; + GLbitfield *inOutFlags = NULL; map = (GLuint *) malloc(prog->Varying->NumParameters * sizeof(GLuint)); if (!map) |