Fix a memleak with win32 threads: the handle returned by _beginthreadex
authorShehzad Salim <shehzadsalim@gmail.com>
Wed, 12 Aug 2009 13:25:37 +0000 (13:25 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 12 Aug 2009 13:25:37 +0000 (13:25 +0000)
commit51fdb6f08d3e18d052f2be630ad7ec160d4247ec
tree9472f9fae81f2819605ab5724bc27a222da60b0d
parentc0b88f1920ce100e49ec2fdacff327e97a7b3c27
Fix a memleak with win32 threads: the handle returned by _beginthreadex
must be closed (this differs from _beginthread).
Patch by Shehzad Salim (shehzadsalim gmail com)

Originally committed as revision 19633 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/w32thread.c