Skip to content

Commit c7b1c99

Browse files
committed
Fix minor memory leak
1 parent b030fd3 commit c7b1c99

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/AvTranscoder/properties/StreamProperties.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ StreamProperties::StreamProperties(const FileProperties& fileProperties, const s
4444

4545
StreamProperties::~StreamProperties()
4646
{
47+
avcodec_free_context(&_codecContext);
4748
}
4849

4950
size_t StreamProperties::getStreamId() const

0 commit comments

Comments
 (0)