OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
180a0b1
)
avformat/sdp: fix memleak on error
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 12 Dec 2013 23:27:25 +0000
(
00:27
+0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 12 Dec 2013 23:27:25 +0000
(
00:27
+0100)
Fixes CID700640
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/sdp.c
patch
|
blob
|
history
diff --git
a/libavformat/sdp.c
b/libavformat/sdp.c
index
0124218
..
f844e4d
100644
(file)
--- 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;
}