[Mesa-dev] [PATCH 1/1] r600, llvm: Fix mem leak

Jan Vesely jan.vesely at rutgers.edu
Mon Dec 1 15:33:10 PST 2014


ping

On Mon, 2014-11-03 at 20:29 -0500, Jan Vesely wrote:
> Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
> ---
>  src/gallium/drivers/r600/r600_llvm.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/gallium/drivers/r600/r600_llvm.c b/src/gallium/drivers/r600/r600_llvm.c
> index c19693a..5f74bf7 100644
> --- a/src/gallium/drivers/r600/r600_llvm.c
> +++ b/src/gallium/drivers/r600/r600_llvm.c
> @@ -888,6 +888,7 @@ unsigned r600_llvm_compile(
>  
>  	FREE(binary.code);
>  	FREE(binary.config);
> +	FREE(binary.rodata);
>  
>  	return r;
>  }

-- 
Jan Vesely <jan.vesely at rutgers.edu>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20141201/6fd37fcb/attachment-0001.sig>


More information about the mesa-dev mailing list