From 73af91281a6f47cf31ae9b7978a745769a9a40f2 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Wed, 18 Nov 2009 21:11:05 +0000 Subject: allow dumping of all symbols to a signature file *hopefully* fix the memleak when scrubbing wii discs. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4588 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/StringUtil.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Source/Core/Common/Src/StringUtil.cpp') diff --git a/Source/Core/Common/Src/StringUtil.cpp b/Source/Core/Common/Src/StringUtil.cpp index 6eb3580e92..10e1963549 100644 --- a/Source/Core/Common/Src/StringUtil.cpp +++ b/Source/Core/Common/Src/StringUtil.cpp @@ -173,6 +173,7 @@ std::string StringFromFormat(const char* format, ...) buf[writtenCount] = '\0'; std::string temp = buf; + delete[] buf; return temp; } -- cgit v1.2.3