Commit 83a02d70 authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Fix memory leak in sampleconverter.cpp

parent 7122e03a
......@@ -142,6 +142,8 @@ AudioRtpRTX::~AudioRtpRTX () {
delete [] spkrDataConverted; spkrDataConverted = NULL;
delete time; time = NULL;
delete converter; converter = NULL;
}
void
......
......@@ -231,6 +231,7 @@ void SIPCall::sdpAddMediaDescription(pj_pool_t* pool)
med->desc.fmt_count = count;
int i = 0;
while(itr != _codecMap.getActiveCodecs().end()) {
std::ostringstream format;
format << *itr;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment