From c9d6da73a8d3b0ff7201b37b1bb2d5f717b8aa37 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sun, 3 Apr 2011 22:45:16 +0200 Subject: [PATCH] Remove superfluous free(). --- libavformat/wav.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavformat/wav.c b/libavformat/wav.c index 876defb51d..afe0d0e98e 100644 --- a/libavformat/wav.c +++ b/libavformat/wav.c @@ -52,7 +52,6 @@ static int wav_write_header(AVFormatContext *s) if (ff_put_wav_header(pb, s->streams[0]->codec) < 0) { av_log(s, AV_LOG_ERROR, "%s codec not supported in WAVE format\n", s->streams[0]->codec->codec ? s->streams[0]->codec->codec->name : "NONE"); - av_free(wav); return -1; } ff_end_tag(pb, fmt);