aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-09-11 13:18:17 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-09-11 13:21:11 +0200
commit2175f768940915513a63ffdddd3860c7e9b1f948 (patch)
tree516197850fb14301879102f4a5c42d7eec9af9f1 /libavformat
parent2832a82e17e906ec0abba379917746967038928b (diff)
downloadffmpeg-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.c2
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;
}