OSDN Git Service

Free metadata if already allocated; fixes a memleak if the header occurs twice
authorRonald S. Bultje <rsbultje@gmail.com>
Sat, 21 Mar 2009 20:59:59 +0000 (20:59 +0000)
committerRonald S. Bultje <rsbultje@gmail.com>
Sat, 21 Mar 2009 20:59:59 +0000 (20:59 +0000)
commit7d09a993d14c420ce53070312e77a224dbb4bc99
treed52774680486740df2abb18d414ce7375122af6f
parent6a8c8b36b9f9a87daa02140c006f55f1a795294e
Free metadata if already allocated; fixes a memleak if the header occurs twice
in a stream (e.g. malicious input, broken file, etc.). See summary in "[PATCH]
rtsp.c small cleanups" thread on mailinglist.

Originally committed as revision 18126 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rtsp.c