diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-12-13 00:27:25 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-12-13 00:27:25 +0100 |
commit | db8a53d86a71c948bd41dd12d1ff1d3351ec2746 (patch) | |
tree | 7a4b80b38f86ec41528c816e3fd1e6bc07f0cbd2 | |
parent | 180a0b1bcb522dab0ad828d8efb9673a6531d534 (diff) | |
download | ffmpeg-streaming-db8a53d86a71c948bd41dd12d1ff1d3351ec2746.zip ffmpeg-streaming-db8a53d86a71c948bd41dd12d1ff1d3351ec2746.tar.gz |
avformat/sdp: fix memleak on error
Fixes CID700640
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/sdp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/sdp.c b/libavformat/sdp.c index 0124218..f844e4d 100644 --- a/libavformat/sdp.c +++ b/libavformat/sdp.c @@ -532,6 +532,7 @@ static char *sdp_write_media_attributes(char *buff, int size, AVCodecContext *c, break; default: av_log(c, AV_LOG_ERROR, "Unsupported pixel format.\n"); + av_free(config); return NULL; } |