diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-09-11 13:18:17 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-09-11 13:21:11 +0200 |
commit | 2175f768940915513a63ffdddd3860c7e9b1f948 (patch) | |
tree | 516197850fb14301879102f4a5c42d7eec9af9f1 /libavformat | |
parent | 2832a82e17e906ec0abba379917746967038928b (diff) | |
download | ffmpeg-2175f768940915513a63ffdddd3860c7e9b1f948.tar.gz |
avformat/asfenc: use av_freep() for extra saftey
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/asfenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/asfenc.c b/libavformat/asfenc.c index 6cc19c7274..85748c76b7 100644 --- a/libavformat/asfenc.c +++ b/libavformat/asfenc.c @@ -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; } |