Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
efc381d6
Commit
efc381d6
authored
13 years ago
by
Tristan Matthews
Browse files
Options
Downloads
Patches
Plain Diff
* #9641: fixed another memory leak in audio_srtp_session
parent
61f5b133
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
daemon/src/audio/audiortp/audio_srtp_session.cpp
+8
-2
8 additions, 2 deletions
daemon/src/audio/audiortp/audio_srtp_session.cpp
daemon/src/audio/audiortp/audio_srtp_session.h
+1
-0
1 addition, 0 deletions
daemon/src/audio/audiortp/audio_srtp_session.h
with
9 additions
and
2 deletions
daemon/src/audio/audiortp/audio_srtp_session.cpp
+
8
−
2
View file @
efc381d6
...
...
@@ -116,8 +116,8 @@ namespace {
AudioSrtpSession
::
AudioSrtpSession
(
SIPCall
&
call
)
:
AudioSymmetricRtpSession
(
call
),
remoteCryptoCtx_
(
NULL
),
localCryptoCtx_
(
NULL
),
remoteCryptoCtx_
(
0
),
localCryptoCtx_
(
0
),
localCryptoSuite_
(
0
),
remoteCryptoSuite_
(
0
),
localMasterKey_
(),
...
...
@@ -131,6 +131,12 @@ AudioSrtpSession::AudioSrtpSession(SIPCall &call) :
remoteOfferIsSet_
(
false
)
{}
AudioSrtpSession
::~
AudioSrtpSession
()
{
delete
localCryptoCtx_
;
delete
remoteCryptoCtx_
;
}
void
AudioSrtpSession
::
initLocalCryptoInfo
()
{
DEBUG
(
"AudioSrtp: Set cryptographic info for this rtp session"
);
...
...
This diff is collapsed.
Click to expand it.
daemon/src/audio/audiortp/audio_srtp_session.h
+
1
−
0
View file @
efc381d6
...
...
@@ -73,6 +73,7 @@ class AudioSrtpSession : public AudioSymmetricRtpSession {
* Constructor for this rtp session
*/
AudioSrtpSession
(
SIPCall
&
call
);
~
AudioSrtpSession
();
/**
* Used to get sdp crypto header to be included in sdp session. This
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment