diff options
Diffstat (limited to 'libavformat/rmdec.c')
-rw-r--r-- | libavformat/rmdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c index 01e335b..2471f94 100644 --- a/libavformat/rmdec.c +++ b/libavformat/rmdec.c @@ -81,8 +81,8 @@ RMStream *ff_rm_alloc_rmstream (void) void ff_rm_free_rmstream (RMStream *rms) { - av_free(rms->videobuf); - av_free(rms->audiobuf); + av_freep(&rms->videobuf); + av_freep(&rms->audiobuf); } static int rm_read_audio_stream_info(AVFormatContext *s, ByteIOContext *pb, |