[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ccrtp-devel] missing memory desallocation
From: |
Federico Montesino Pouzols |
Subject: |
Re: [Ccrtp-devel] missing memory desallocation |
Date: |
Wed, 2 Apr 2003 11:42:38 +0200 |
User-agent: |
Mutt/1.3.28i |
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