[Mesa-dev] [PATCH mesa] gallium/util: fix resource leak

Edward O'Callaghan funfunctor at folklore1984.net
Sat Jul 30 08:02:22 UTC 2016


Reviewed-by: Edward O'Callaghan <funfunctor at folklore1984.net>

On 07/30/2016 10:35 AM, Eric Engestrom wrote:
> CovID: 401540
> Signed-off-by: Eric Engestrom <eric at engestrom.ch>
> ---
>  src/gallium/auxiliary/util/u_format_s3tc.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/src/gallium/auxiliary/util/u_format_s3tc.c b/src/gallium/auxiliary/util/u_format_s3tc.c
> index 8c4f215..1ed4336 100644
> --- a/src/gallium/auxiliary/util/u_format_s3tc.c
> +++ b/src/gallium/auxiliary/util/u_format_s3tc.c
> @@ -157,6 +157,8 @@ util_format_s3tc_init(void)
>     util_format_dxt5_rgba_fetch = (util_format_dxtn_fetch_t)fetch_2d_texel_rgba_dxt5;
>     util_format_dxtn_pack = (util_format_dxtn_pack_t)tx_compress_dxtn;
>     util_format_s3tc_enabled = TRUE;
> +
> +   util_dl_close(library);
>  }
>  
>  
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160730/af704617/attachment.sig>


More information about the mesa-dev mailing list