> Do you have any guidelines or conventions regarding object ownership in the 
> library?

In general, the entity that create an object is responsible for deleting it.

There are exceptions to this, though.  For example - as you noted - when you 
have a 'chain' of "FramedSource" objects, feeding into each other (e.g., 
"source1"->"source(filter)2"->"source(filter)3"), then you delete them by 
deleting the tail object only.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to