From 17f902d7c23354e83f3f3099206818557c15d0c5 Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Thu, 1 Jul 2010 23:28:09 +0000 Subject: [PATCH] Don't leak the time formatter. Fixes ticket #6250. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37329 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/locale/Country.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/kits/locale/Country.cpp b/src/kits/locale/Country.cpp index 00819a78bc..7d6bae1984 100644 --- a/src/kits/locale/Country.cpp +++ b/src/kits/locale/Country.cpp @@ -173,6 +173,8 @@ BCountry::FormatTime(BString* string, time_t time, bool longFormat) BStringByteSink stringConverter(string); ICUString.toUTF8(stringConverter); + + delete timeFormatter; }