<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 4, 2016 at 7:54 AM, Eduardo Lima Mitev <span dir="ltr"><<a href="mailto:elima@igalia.com" target="_blank">elima@igalia.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Patch 2 and 3 are:<br>
<br>
Reviewed-by: Eduardo Lima Mitev <<a href="mailto:elima@igalia.com">elima@igalia.com</a>><br></blockquote><div><br>Thanks! I do not have commit access. Can I ask you to push (again)?<br> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
I barely know about coccinelle scripts so I will let others look at<br>
first patch.<br>
<br>
Thanks<br>
<span class=""><font color="#888888">Eduardo<br>
</font></span><div class=""><div class="h5"><br>
On 05/04/2016 06:15 AM, Thomas Hindoe Paaboel Andersen wrote:<br>
> ---<br>
> src/mesa/main/readpix.c | 3 +--<br>
> src/mesa/main/texgetimage.c | 3 +--<br>
> 2 files changed, 2 insertions(+), 4 deletions(-)<br>
><br>
> diff --git a/src/mesa/main/readpix.c b/src/mesa/main/readpix.c<br>
> index 882d863..1cb06c7 100644<br>
> --- a/src/mesa/main/readpix.c<br>
> +++ b/src/mesa/main/readpix.c<br>
> @@ -608,8 +608,7 @@ read_rgba_pixels( struct gl_context *ctx,<br>
> dst, format, type);<br>
> }<br>
><br>
> - if (rgba)<br>
> - free(rgba);<br>
> + free(rgba);<br>
><br>
> done_swap:<br>
> /* Handle byte swapping if required */<br>
> diff --git a/src/mesa/main/texgetimage.c b/src/mesa/main/texgetimage.c<br>
> index 4ac0ad4..fc3cc6b 100644<br>
> --- a/src/mesa/main/texgetimage.c<br>
> +++ b/src/mesa/main/texgetimage.c<br>
> @@ -557,8 +557,7 @@ get_tex_rgba_uncompressed(struct gl_context *ctx, GLuint dimensions,<br>
> }<br>
><br>
> done:<br>
> - if (rgba)<br>
> - free(rgba);<br>
> + free(rgba);<br>
> }<br>
><br>
><br>
><br>
<br>
</div></div></blockquote></div><br></div></div>