Re: registry handle leak
Michael Militzer <[email protected]> Mon, 10 May 2010 16:09:11 +0200
| Newsgroups | gmane.comp.video.xvid.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Chris, thanks for your report. I have uploaded a fix for this to the xvid head and 1-2-release branches. This has been a very silly bug with a simple fix (see the changes in vfw/src/codec.c). If you can, please check and report back whether the hande leak problem you observed is now resolved by this. Thanks, Michael Quoting "Rev. Chris Korda" <[email protected]>: > XviD 1.2.2 leaks a registry handle every time a video is opened and closed > with VfW, under Windows XP and 2000. The leaking handle is for > HKCU\Software\GNU\XviD. It was discovered via Task Manager, and verified > using SysInternals Process Explorer. An identical leak occurs in XviD > version 1.1.0 so it's not new behavior. I created a simple VC++ test app > that demonstrates the leak, see enclosed link. The test app doesn't leak > when other codecs are used. A handle may seem minor but it adds up fast if > many videos are opened and closed in quick succession, e.g. in VJ software > (my case). Is this a known bug? And am I reporting it in the right place? > > The test app is available here: > http://ffrend.sourceforge.net/temp/XviDLeak.zip > > Best regards, > > Chris > http://ffrend.sourceforge.net/ > > _______________________________________________ > Xvid-devel mailing list > [email protected] > http://list.xvid.org/mailman/listinfo/xvid-devel > >