[Mesa-stable] [Mesa-dev][PATCH 1/1] pipe-lader: Free driver_name in error path

Marek Olšák maraeo at gmail.com
Wed May 9 00:20:53 UTC 2018


Reviewed-by: Marek Olšák <marek.olsak at amd.com>

Marek

On Tue, May 8, 2018 at 1:46 AM, Jan Vesely <jan.vesely at rutgers.edu> wrote:

> CC: <mesa-stable at lists.freedesktop.org>
> Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
> ---
>  src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c
> b/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c
> index b6be1b4f12..3b959e5398 100644
> --- a/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c
> +++ b/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c
> @@ -207,6 +207,7 @@ pipe_loader_drm_probe_fd(struct pipe_loader_device
> **dev, int fd)
>     if (ddev->lib)
>        util_dl_close(ddev->lib);
>  #endif
> +   FREE(ddev->base.driver_name);
>     FREE(ddev);
>     return false;
>  }
> --
> 2.17.0
>
> _______________________________________________
> mesa-stable mailing list
> mesa-stable at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-stable
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-stable/attachments/20180508/92e7ea81/attachment.html>


More information about the mesa-stable mailing list