applehttpproto: Use the close function if the open function fails
authorMartin Storsjö <martin@martin.st>
Thu, 1 Dec 2011 09:07:35 +0000 (11:07 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 1 Dec 2011 11:47:23 +0000 (13:47 +0200)
commit1ca87d600bc069fe4cf497c410b4f794e88a122d
tree590ec66f253bd40a210930b21f1c34fcc8e88db4
parentabe20c59b93426958624e16e89b24e0c0b43f370
applehttpproto: Use the close function if the open function fails

This should clean up leaked memory.

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