| Index: third_party/libwebp/enc/picture_psnr.c
|
| diff --git a/third_party/libwebp/enc/picture_psnr.c b/third_party/libwebp/enc/picture_psnr.c
|
| index 81ab1b5ca1c371c677035fe75d5b7c5661985ed2..329757deb148ae9e726b54e9a45cb844fcb618ad 100644
|
| --- a/third_party/libwebp/enc/picture_psnr.c
|
| +++ b/third_party/libwebp/enc/picture_psnr.c
|
| @@ -110,7 +110,7 @@ int WebPPictureDistortion(const WebPPicture* src, const WebPPicture* ref,
|
| VP8SSIMAccumulatePlane(tmp1, w, tmp2, w, w, h, &stats[c]);
|
| }
|
| }
|
| - free(tmp_plane);
|
| + WebPSafeFree(tmp_plane);
|
| }
|
| } else {
|
| int has_alpha, uv_w, uv_h;
|
|
|