Merge "WebPPictureDistortion(): free() -> WebPSafeFree()"

This commit is contained in:
James Zern 2016-08-31 01:27:06 +00:00 committed by Gerrit Code Review
commit 0a4699bcc9

View File

@ -110,7 +110,7 @@ int WebPPictureDistortion(const WebPPicture* src, const WebPPicture* ref,
VP8SSIMAccumulatePlane(tmp1, w, tmp2, w, w, h, &stats[c]); VP8SSIMAccumulatePlane(tmp1, w, tmp2, w, w, h, &stats[c]);
} }
} }
free(tmp_plane); WebPSafeFree(tmp_plane);
} }
} else { } else {
int has_alpha, uv_w, uv_h; int has_alpha, uv_w, uv_h;