ccrtp-devel
[Top][All Lists]
Advanced

[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:

        Hi,

        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
upgrade.

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

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
endSocket()
{ 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,
Cheers,
Guillaume


_______________________________________________
Ccrtp-devel mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/ccrtp-devel


_______________________________________________
Ccrtp-devel mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/ccrtp-devel





reply via email to

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