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

missed one!

Change-Id: I643170451b3ac07c748b70a9abfe8af17a716b24
(cherry picked from commit 32dead4ee384afa8dc4da9a8a9d49ab944318c35)
This commit is contained in:
Pascal Massimino 2016-08-30 15:42:29 +02:00 committed by James Zern
parent 03f1c00877
commit 25d74e652e

View File

@ -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;