Re: [Live-devel] Memory leaks in RTPInterface

2013-07-02 Thread Chris Richardson
Hi Ross > No you don't :-) I’m happy to be wrong on that. > No, I can't do that, because if that code happens to be called while we're > inside "tcpReadHandler1()" - i.e., while we're inside this loop: Thanks for taking a look and fixing it. I did notice the crash of course. I sent my messa

Re: [Live-devel] Memory leaks in RTPInterface

2013-07-02 Thread Ross Finlayson
> I know your stance on memory leaks No you don't :-) > In the SocketDescriptor destructor, the HashTable::Iterator* “iter” is never > deleted. Yes - that was an oversight on my part. It will be fixed in the next release of the software. > In SocketDescriptor::deregisterRTPInterface, the f

Re: [Live-devel] Memory Leaks in RTPInterface

2013-07-02 Thread Chris Richardson (WTI)
Hi All, Please ignore the previous patch I sent with the same subject line; I hit Send too soon. My apologies for the spam. Thanks, Chris Richardson ___ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/list

[Live-devel] Memory leaks in RTPInterface

2013-07-02 Thread Chris Richardson (WTI)
Hi Ross, In testing the most recent version (2013.06.30), I noticed a couple memory leaks. I know your stance on memory leaks, but these two occur during normal play/stop operation (not just at shutdown), and so they will have noticeable effect on long-running devices. In the SocketDescrip