[Mesa-dev] [PATCH mesa 1/2] intel/aubinator: fix mem leak

Lionel Landwerlin lionel.g.landwerlin at intel.com
Wed Jun 20 14:24:38 UTC 2018


Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>

On 19/06/18 16:05, Eric Engestrom wrote:
> Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
> ---
>   src/intel/tools/aubinator.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/src/intel/tools/aubinator.c b/src/intel/tools/aubinator.c
> index c8d79ae377d68285bd1e..e4fb8adada354253143c 100644
> --- a/src/intel/tools/aubinator.c
> +++ b/src/intel/tools/aubinator.c
> @@ -671,6 +671,7 @@ int main(int argc, char *argv[])
>      /* close the stdout which is opened to write the output */
>      close(1);
>      free(xml_path);
> +   free(file);
>   
>      wait(NULL);
>   




More information about the mesa-dev mailing list