Yes you are right about item 2, the one that allocates is the one to
de-allocate. The problem is that RTSPClient uses the MediaSubsession as it
own repository for the allocated sub-session id. It only keeps a copy
(strDup) of the last sub-session id. So it has no way of keeping track of
what it had
Hello,
In my previous mail I have suggested how to prevent memory leaks in
DarwinInjector.
I want to correct a possible crash in my solution and add some more.
1) My solution could cause NULL pointer memory access error when a
DarwinInjector was deleted before a session was created. So
Hello,
I have found a few memory leaks in the injector code.
1) In the SubstreamDescriptor() constructor a variable called "rtpmapLine"
gets allocated but never freed.
2) In setDestination() a MediaSession is created to help the created
RTSPClient to setup its sub-sessions.
This