mesa: don't leak interface_name

Found by Coverity

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Timothy Arceri <t_arceri@yahoo.com.au>
This commit is contained in:
Ilia Mirkin 2015-09-26 13:37:02 -04:00
parent e413d2fbc4
commit 6dd059fefe
1 changed files with 1 additions and 0 deletions

View File

@ -995,6 +995,7 @@ program_resource_top_level_array_stride(struct gl_shader_program *shProg,
}
}
found_top_level_array_size:
free(interface_name);
free(var_name);
return array_stride;
}