diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c index f17393bfa8..8f146e49fe 100644 --- a/libavformat/oggdec.c +++ b/libavformat/oggdec.c @@ -817,7 +817,6 @@ retry: return psize; fail: av_free_packet(pkt); - av_free(pkt); return AVERROR(ENOMEM); }