rtmp: Clean up properly if the handshake failed
authorMartin Storsjö <martin@martin.st>
Thu, 1 Dec 2011 09:34:06 +0000 (11:34 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 1 Dec 2011 11:47:25 +0000 (13:47 +0200)
commit02490bf3587d86a730e0de12572026504e2cb942
tree537aec190bc6b89001921143f973954014c4424d
parent6af354436ca99324b6d35e8a7a24c1abf6667595
rtmp: Clean up properly if the handshake failed

This prevents memory leaks if this function returns an error.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtmpproto.c