Permalink
Browse files

Fix a leak detected by Coverity.

  • Loading branch information...
stichnot committed May 10, 2012
1 parent 3bade07 commit 653a236f5598a64f3d8c643fd8ad1912bca0dd3d
Showing with 2 additions and 0 deletions.
  1. +2 −0 mythtv/libs/libmythtv/subtitlescreen.cpp
@@ -317,6 +317,8 @@ void SubtitleFormat::Load(const QString &family,
resultBG, testBG);
if (!IsUnlocked(prefix, kSubAttrPixelsize))
m_pixelSizeMap[prefix] = resultFont->GetFace()->pixelSize();
+
+ delete negFont;
}
QSet<QString> SubtitleFormat::Diff(const QString &family,

0 comments on commit 653a236

Please sign in to comment.