[Live-devel] Proper Way to Delete a ServerMediaSession

Ross Finlayson finlayson at live.com
Thu Jan 13 02:07:25 PST 2005


>The seg fault is triggered at (when removing a 
>MPEG2TransportFileServerMediaSubsession):
>    ~OnDemandServerMediaSubsession() {
>        ...
>        delete[] fDestinationsHashTable;  // <- This line
>    }
>
>Changing the line to
>    delete fDestinationsHashTable;
>works fine.  Why is it deleting the hash table as an array?

You've found a bug - thanks!

I've just installed a new version (2005.01.13) of the code that fixes this.


	Ross Finlayson
	LIVE.COM
	<http://www.live.com/>



More information about the live-devel mailing list