fix merge collision
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 16 May 2008 21:17:35 +0000 (15:17 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 16 May 2008 21:17:35 +0000 (15:17 -0600)
src/mesa/tnl/t_vp_build.c

index 4432893..46446d4 100644 (file)
@@ -1572,11 +1572,9 @@ void _tnl_UpdateFixedFunctionProgram( GLcontext *ctx )
         cache_item(ctx, tnl->vp_cache, hash, key, newProg);
 
          _mesa_reference_vertprog(ctx, &ctx->VertexProgram._TnlProgram, newProg);
-      } else {
-        FREE(key);
       }
       else {
-         FREE(key);
+        FREE(key);
       }
 
       _mesa_reference_vertprog(ctx, &ctx->VertexProgram._TnlProgram, newProg);