diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c index 7bae036635..abe073dcc1 100644 --- a/libavformat/id3v2.c +++ b/libavformat/id3v2.c @@ -1264,8 +1264,6 @@ int ff_id3v2_parse_priv_dict(AVDictionary **metadata, ID3v2ExtraMeta **extra_met } if ((ret = av_dict_set(metadata, key, escaped, dict_flags)) < 0) { - av_free(key); - av_free(escaped); return ret; } }