summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/StringUtil.cpp
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2009-11-18 21:11:05 +0000
committerShawn Hoffman <godisgovernment@gmail.com>2009-11-18 21:11:05 +0000
commit73af91281a6f47cf31ae9b7978a745769a9a40f2 (patch)
treec06867036ff09ee275c728e8ec03b5d804cd84b3 /Source/Core/Common/Src/StringUtil.cpp
parent1a374ad62c5a20a9a02c4fe311de60e19e80d5c3 (diff)
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
Diffstat (limited to 'Source/Core/Common/Src/StringUtil.cpp')
-rw-r--r--Source/Core/Common/Src/StringUtil.cpp1
1 files changed, 1 insertions, 0 deletions
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;
}