ccrtp-devel
[Top][All Lists]
Advanced

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

[Ccrtp-devel] missing memory desallocation


From: Guillaume FRAYSSE
Subject: [Ccrtp-devel] missing memory desallocation
Date: 02 Apr 2003 10:48:08 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

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




reply via email to

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