ReswPlus
ReswPlus copied to clipboard
Fixed memory leak in C++ string formatting
Fixes #28.
These could still leak in case the creation of the string throws. Recommend using std::unique_ptr<wchar_t[]>. Alternatively for C++/WinRT, you could use winrt::format to be more efficient (since it directly gives a hstring)