free prog->Attributes in _mesa_delete_program()
diff --git a/src/mesa/shader/program.c b/src/mesa/shader/program.c
index c1606ac..e872d78 100644
--- a/src/mesa/shader/program.c
+++ b/src/mesa/shader/program.c
@@ -288,10 +288,12 @@
    if (prog->Parameters) {
       _mesa_free_parameter_list(prog->Parameters);
    }
-
    if (prog->Varying) {
       _mesa_free_parameter_list(prog->Varying);
    }
+   if (prog->Attributes) {
+      _mesa_free_parameter_list(prog->Attributes);
+   }
 
    /* XXX this is a little ugly */
    if (prog->Target == GL_VERTEX_PROGRAM_ARB) {