From: Brian Date: Thu, 12 Apr 2007 21:22:53 +0000 (-0600) Subject: use _mesa_clear_shader_program_data() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=431d650f2b2969951cdc66822d1652da1bf6c286;p=mesa.git use _mesa_clear_shader_program_data() --- diff --git a/src/mesa/shader/slang/slang_link.c b/src/mesa/shader/slang/slang_link.c index 0cad69d4100..20c66909b27 100644 --- a/src/mesa/shader/slang/slang_link.c +++ b/src/mesa/shader/slang/slang_link.c @@ -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();