You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avformat/dss: Use av_freep() to avoid leaving stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -326,7 +326,7 @@ static int dss_read_close(AVFormatContext *s)
|
||||
{
|
||||
DSSDemuxContext *ctx = s->priv_data;
|
||||
|
||||
av_free(ctx->dss_sp_buf);
|
||||
av_freep(&ctx->dss_sp_buf);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user