[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ccrtp-devel] missing memory desallocation

From: David Sugar
Subject: Re: [Ccrtp-devel] missing memory desallocation
Date: Wed, 02 Apr 2003 06:37:31 -0500
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.3) Gecko/20030312

We can do a 1.0.1 this week if nessisary.

Federico Montesino Pouzols wrote:


        it is fixed in CVS. ccRTP 1.0 has been released the last week,
so the leak will be fixed in 1.0.1. Note that 1.0 comes with an
important bug fix with respect to 1.0pre2, so I recommend you to

On Wed, Apr 02, 2003 at 10:48:08AM +0200, Guillaume FRAYSSE wrote:

While lokking for memory leaks with valgrind in an application we've written we 
found one in ccRTP, in the class TRTPSessionBase in  rtp.h, the dso and cso 
object are never desallocated.

We fixed this in the endSocket method like this :

inline void
{ dso->endSocket(); cso->endSocket();
       if (dso) delete dso; dso = NULL;
       if(cso) delete cso; cso = NULL;

We use the pre2 but I didn't see a fix in the CVS repository neither.
Will this be fixed in a later release ?

Hope this helps,

Ccrtp-devel mailing list

Ccrtp-devel mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]