[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ccrtp-devel] missing memory desallocation
From: |
Guillaume FRAYSSE |
Subject: |
Re: [Ccrtp-devel] missing memory desallocation |
Date: |
02 Apr 2003 13:43:01 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
That's what I call a quick fix.. ;o)
Thanks a lot.
We are upgrading to 1.0.0 right now.
Cheers,
Guillaume
Federico Montesino Pouzols <address@hidden> writes:
> 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