diff --git a/sflphone-common/src/audio/audiortp/AudioSrtpSession.cpp b/sflphone-common/src/audio/audiortp/AudioSrtpSession.cpp index d5f8bfa0b83afc5946f38c4a0ea8db78b7a83cde..a8d61f5848a91bfebd8754291ed65d1614a70cbb 100644 --- a/sflphone-common/src/audio/audiortp/AudioSrtpSession.cpp +++ b/sflphone-common/src/audio/audiortp/AudioSrtpSession.cpp @@ -66,15 +66,6 @@ AudioSrtpSession::AudioSrtpSession (ManagerImpl * manager, SIPCall * sipcall) : AudioSrtpSession::~AudioSrtpSession() { - if (_remoteCryptoCtx) { - delete _remoteCryptoCtx; - _remoteCryptoCtx = NULL; - } - - if (_localCryptoCtx) { - delete _localCryptoCtx; - _localCryptoCtx = NULL; - } } void AudioSrtpSession::initLocalCryptoInfo()