Commit 2175f768 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/asfenc: use av_freep() for extra saftey

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 2832a82e
......@@ -884,7 +884,7 @@ static int asf_write_trailer(AVFormatContext *s)
asf_write_header1(s, file_size, data_size - asf->data_offset);
}
av_free(asf->index_ptr);
av_freep(&asf->index_ptr);
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment