From f005ab8f115a10fe14afafa07b74731eea13403c Mon Sep 17 00:00:00 2001 From: Alexandre Savard <alexandresavard@alexandresavard-desktop.(none)> Date: Fri, 2 Apr 2010 12:33:24 -0400 Subject: [PATCH] [#2926] Code cleanup --- sflphone-common/src/audio/audiortp/AudioRtpFactory.cpp | 4 ++-- sflphone-common/src/history/historymanager.cpp | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/sflphone-common/src/audio/audiortp/AudioRtpFactory.cpp b/sflphone-common/src/audio/audiortp/AudioRtpFactory.cpp index 09756c4adf..f7ef1ffe5d 100644 --- a/sflphone-common/src/audio/audiortp/AudioRtpFactory.cpp +++ b/sflphone-common/src/audio/audiortp/AudioRtpFactory.cpp @@ -167,8 +167,8 @@ void AudioRtpFactory::stop (void) switch (_rtpSessionType) { case Sdes: - delete static_cast<AudioSrtpSession *> (_rtpSession); - break; + delete static_cast<AudioSrtpSession *> (_rtpSession); + break; case Symmetric: delete static_cast<AudioSymmetricRtpSession *> (_rtpSession); diff --git a/sflphone-common/src/history/historymanager.cpp b/sflphone-common/src/history/historymanager.cpp index e28ffff1a5..ac5188c30b 100644 --- a/sflphone-common/src/history/historymanager.cpp +++ b/sflphone-common/src/history/historymanager.cpp @@ -41,7 +41,6 @@ HistoryManager::~HistoryManager () iter++; } - // Clear the history map _history_items.clear (); -- GitLab