| 1 | Addresses an instance where a resource is allocated in the constructor
|
|---|
| 2 |
|
|---|
| 3 | From: <>
|
|---|
| 4 |
|
|---|
| 5 | but never de-allocated in the destructor. Thereby causing a leak of
|
|---|
| 6 | that resource.
|
|---|
| 7 | ---
|
|---|
| 8 |
|
|---|
| 9 | .../liveMedia/MP3ADUinterleaving.cpp | 1 +
|
|---|
| 10 | 1 files changed, 1 insertions(+), 0 deletions(-)
|
|---|
| 11 |
|
|---|
| 12 | diff --git a/libs/libmythlivemedia/liveMedia/MP3ADUinterleaving.cpp b/libs/libmythlivemedia/liveMedia/MP3ADUinterleaving.cpp
|
|---|
| 13 | index 790e363..594c2cc 100644
|
|---|
| 14 | --- a/libs/libmythlivemedia/liveMedia/MP3ADUinterleaving.cpp
|
|---|
| 15 | +++ b/libs/libmythlivemedia/liveMedia/MP3ADUinterleaving.cpp
|
|---|
| 16 | @@ -222,6 +222,7 @@ MP3ADUdeinterleaver::MP3ADUdeinterleaver(UsageEnvironment& env,
|
|---|
| 17 | }
|
|---|
| 18 |
|
|---|
| 19 | MP3ADUdeinterleaver::~MP3ADUdeinterleaver() {
|
|---|
| 20 | + delete fFrames;
|
|---|
| 21 | }
|
|---|
| 22 |
|
|---|
| 23 | MP3ADUdeinterleaver* MP3ADUdeinterleaver::createNew(UsageEnvironment& env,
|
|---|