From a4e158b796b4db8802b31cf837630e15fa3f8405 Mon Sep 17 00:00:00 2001 From: Brian Ferguson Date: Wed, 26 Sep 2012 10:49:48 -0600 Subject: [PATCH] Fixed memory leak in 6bd978a --- Library/MeterString.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Library/MeterString.cpp b/Library/MeterString.cpp index d2b43e65..fbdb40be 100644 --- a/Library/MeterString.cpp +++ b/Library/MeterString.cpp @@ -318,6 +318,11 @@ void CMeterString::Initialize() } } } + + if (defaultFont != m_Font) + { + delete defaultFont; + } } /*