Skip to content

Commit

Permalink
mythtranscode: Fix leak of HLS object on error
Browse files Browse the repository at this point in the history
- per coverity

(cherry picked from commit 1d3bc7b)
  • Loading branch information
mark-kendall committed Mar 8, 2020
1 parent 7097da3 commit f719c93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mythtv/programs/mythtranscode/transcode.cpp
Expand Up @@ -463,6 +463,7 @@ int Transcode::TranscodeFile(const QString &inputname,
SetPlayerContext(nullptr);
delete avfw;
delete avfw2;
delete hls;
return REENCODE_ERROR;
}
}
Expand Down

0 comments on commit f719c93

Please sign in to comment.