X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=ffmpeg%2Flibavcodec%2Favpicture.c;h=0484dc3f7bd377d111bb715e3749a019f8d07651;hb=refs%2Ftags%2Fdebian%2F2.5.0_trusty1.1;hp=a6f89ef884a36fa583c404e475cf760e20c06d51;hpb=2ba45a602cbfa7b771effba9b11bb4245c21bc00;p=deb_ffmpeg.git diff --git a/ffmpeg/libavcodec/avpicture.c b/ffmpeg/libavcodec/avpicture.c index a6f89ef..0484dc3 100644 --- a/ffmpeg/libavcodec/avpicture.c +++ b/ffmpeg/libavcodec/avpicture.c @@ -66,7 +66,7 @@ int avpicture_alloc(AVPicture *picture, void avpicture_free(AVPicture *picture) { - av_free(picture->data[0]); + av_freep(&picture->data[0]); } void av_picture_copy(AVPicture *dst, const AVPicture *src,