diff options
author | Martin Storsjö <martin@martin.st> | 2011-02-03 12:10:12 +0000 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-02-03 13:21:36 +0000 |
commit | 1f56f5ed6d68f6492e213944e145e04e4d4dca13 (patch) | |
tree | cedf1237fe5b3d0e7a52638689c7c5d65f38195f | |
parent | 9ad4c65f6fa7ff6d3fb7d5ea02908bbd6adc583f (diff) | |
download | ffmpeg-streaming-1f56f5ed6d68f6492e213944e145e04e4d4dca13.zip ffmpeg-streaming-1f56f5ed6d68f6492e213944e145e04e4d4dca13.tar.gz |
sapenc: Free AVStream->info on cleanup
This fixes yet another memory leak, present since SVN rev 25418.
Signed-off-by: Mans Rullgard <mans@mansr.com>
-rw-r--r-- | libavformat/sapenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/sapenc.c b/libavformat/sapenc.c index b14c511..088f7bd 100644 --- a/libavformat/sapenc.c +++ b/libavformat/sapenc.c @@ -48,6 +48,7 @@ static int sap_write_close(AVFormatContext *s) url_fclose(rtpctx->pb); av_metadata_free(&rtpctx->streams[0]->metadata); av_metadata_free(&rtpctx->metadata); + av_free(rtpctx->streams[0]->info); av_free(rtpctx->streams[0]); av_free(rtpctx); s->streams[i]->priv_data = NULL; |