demux_mkv: Fix massive memleaks in attachment parsing.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36649 b3059339-0415-0410-9bf9-f77b7e298cf2
ad_realaud: Fix memory leak in error path.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36650 b3059339-0415-0410-9bf9-f77b7e298cf2
dvdnav: fix memory leaks in error paths.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36651 b3059339-0415-0410-9bf9-f77b7e298cf2
menu_filesel: Fix memory leak in case of readdir error.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36652 b3059339-0415-0410-9bf9-f77b7e298cf2
menu_param: fix memleak on menu click.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36653 b3059339-0415-0410-9bf9-f77b7e298cf2
aviheader: Close file also when an index file contains an error.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36654 b3059339-0415-0410-9bf9-f77b7e298cf2
cddb: fix multiple leaks, both for error and normal use cases.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36655 b3059339-0415-0410-9bf9-f77b7e298cf2
tcp: fix socket/descriptor leak on error.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36656 b3059339-0415-0410-9bf9-f77b7e298cf2