[Live-devel] Leak: Orhpan item is left in MediaLookUp table if AVI file creation fails.

Ross Finlayson finlayson at live555.com
Thu Sep 11 07:29:39 PDT 2008


Ahh... I looked at this code again, and you're right - there is a 
bug.  In the "createNew()" function, replace
         delete newSink;
with
         Medium::close(newSink);

This should be done for both "AVIFileSink" and "QuickTimeFileSink".

This will be fixed in the next release of the software.


	Ross Finlayson
	Live Networks, Inc. (LIVE555.COM)
	<http://www.live555.com/>



More information about the live-devel mailing list