Skip to content

Commit 717aa26

Browse files
author
Clement Champetier
committed
Transcoder: delete Dummy arrays in destructor
1 parent 70d37fe commit 717aa26

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/AvTranscoder/Transcoder/Transcoder.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ Transcoder::~Transcoder()
2424
{
2525
delete (*it);
2626
}
27-
// for( std::vector< DummyAudio* >::iterator it = _dummyAudio.begin(); it != _dummyAudio.end(); ++it )
28-
// {
29-
// delete (*it);
30-
// }
31-
// for( std::vector< DummyVideo* >::iterator it = _dummyVideo.begin(); it != _dummyVideo.end(); ++it )
32-
// {
33-
// delete (*it);
34-
// }
27+
for( std::vector< DummyAudio* >::iterator it = _dummyAudio.begin(); it != _dummyAudio.end(); ++it )
28+
{
29+
delete (*it);
30+
}
31+
for( std::vector< DummyVideo* >::iterator it = _dummyVideo.begin(); it != _dummyVideo.end(); ++it )
32+
{
33+
delete (*it);
34+
}
3535
}
3636

3737
void Transcoder::add( const std::string& filename, const size_t streamIndex, const std::string& profileName )

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy