mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Merge commit '9752d2e6cc9b9e8070ec515db8ed8374683d0856'
* commit '9752d2e6cc9b9e8070ec515db8ed8374683d0856': asfdec: prevent possible memory leak in the asf_read_metadata_obj Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
7755a57440
@ -572,7 +572,8 @@ static int asf_read_metadata_obj(AVFormatContext *s, const GUIDParseTable *g)
|
|||||||
if ((ret = process_metadata(s, name, name_len, val_len, type,
|
if ((ret = process_metadata(s, name, name_len, val_len, type,
|
||||||
&asf->asf_sd[st_num].asf_met)) < 0)
|
&asf->asf_sd[st_num].asf_met)) < 0)
|
||||||
break;
|
break;
|
||||||
}
|
} else
|
||||||
|
av_freep(&name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user