Commit fe9ffcb9 authored by Max Kellermann's avatar Max Kellermann

Merge branch 'v0.20.x'

parents bea5681f b0703b92
......@@ -14,6 +14,7 @@ ver 0.20.10 (not yet released)
- ffmpeg: support MusicBrainz ID3v2 tags
* tags
- aiff: fix FORM chunk size endianess (is big-endian)
* fix crash on Windows
ver 0.20.9 (2017/06/04)
* decoder
......
......@@ -57,7 +57,7 @@ FormatStringV(const char *fmt, va_list args) noexcept
const size_t length = strlen(buffer);
char *p = new char[length + 1];
memcpy(p, buffer, length + 1);
return AllocatedString<>::Donate(buffer);
return AllocatedString<>::Donate(p);
#endif
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment