use _mesa_clear_shader_program_data()
authorBrian <brian@yutani.localnet.net>
Thu, 12 Apr 2007 21:22:53 +0000 (15:22 -0600)
committerBrian <brian@yutani.localnet.net>
Thu, 12 Apr 2007 21:22:53 +0000 (15:22 -0600)
src/mesa/shader/slang/slang_link.c

index 0cad69d4100166c31d8f842c5334b5b8090c9197..20c66909b279b623808f100b8686431f6e96f485 100644 (file)
@@ -475,7 +475,7 @@ _slang_link(GLcontext *ctx,
    const struct gl_fragment_program *fragProg;
    GLuint i;
 
-   _mesa_free_shader_program_data(ctx, shProg);
+   _mesa_clear_shader_program_data(ctx, shProg);
 
    shProg->Uniforms = _mesa_new_parameter_list();
    shProg->Varying = _mesa_new_parameter_list();