Skip to content
Snippets Groups Projects
Commit 3518de4a authored by Rafaël Carré's avatar Rafaël Carré
Browse files

* #6392 AudioCodec : fix memory leak

parent 6c1dea8d
No related branches found
No related tags found
No related merge requests found
...@@ -115,4 +115,9 @@ double AudioCodec::getBandwidth (void) const ...@@ -115,4 +115,9 @@ double AudioCodec::getBandwidth (void) const
return _bandwidth; return _bandwidth;
} }
AudioCodec::~AudioCodec()
{
delete _payloadFormat;
}
} // end namespace sfl } // end namespace sfl
...@@ -55,7 +55,7 @@ class AudioCodec : public Codec ...@@ -55,7 +55,7 @@ class AudioCodec : public Codec
*/ */
AudioCodec (const AudioCodec& codec); AudioCodec (const AudioCodec& codec);
virtual ~AudioCodec() {} virtual ~AudioCodec();
/** /**
* @Override * @Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment