From 5a162e53bfdb58be6761548b00303af479fae380 Mon Sep 17 00:00:00 2001 From: Niels Martin Hansen Date: Sun, 7 Jun 2009 23:15:02 +0000 Subject: [PATCH] The KanaTable was missing a destructor. Nobody noticed because the old kanji timer code created but never deleted KanaTable objects on the heap... yes that was a memory leak that'll also get plugged by the rewrite of the kanji timer. Updates #847. Originally committed to SVN as r3030. --- aegisub/src/kana_table.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/aegisub/src/kana_table.cpp b/aegisub/src/kana_table.cpp index d8c0045e5..0f05a9290 100644 --- a/aegisub/src/kana_table.cpp +++ b/aegisub/src/kana_table.cpp @@ -220,6 +220,11 @@ KanaTable::KanaTable() { Insert(L"",L"\u30c4\u30a9",L"tso"); } +KanaTable::~KanaTable() +{ + // Do nothing +} + ////////// // Insert