[Piglit] [PATCH 1/4] arb_shader_image_load_store/indexing: Plug memory leak.

Martin Peres martin.peres at linux.intel.com
Tue May 19 07:10:17 PDT 2015


On 12/05/15 15:39, Francisco Jerez wrote:
> ---
>   tests/spec/arb_shader_image_load_store/indexing.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/tests/spec/arb_shader_image_load_store/indexing.c b/tests/spec/arb_shader_image_load_store/indexing.c
> index ead0866..cab7d3f 100644
> --- a/tests/spec/arb_shader_image_load_store/indexing.c
> +++ b/tests/spec/arb_shader_image_load_store/indexing.c
> @@ -75,6 +75,7 @@ init_images(const struct image_info img, GLuint prog)
>   
>                   asprintf(&name, "imgs[%d]", unit);
>                   set_uniform_int(prog, name, unit);
> +                free(name);
>           }
>   
>           return true;

Reviewed-by: Martin Peres <martin.peres at linux.intel.com>


More information about the Piglit mailing list