diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-08-09 15:52:05 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-08-09 15:52:05 +0300 |
commit | 9c1c9af04427602c9eb52e3d99601e8cd87ff89e (patch) | |
tree | 259438197a40a76e6adb52e8bb0cf98d2fe80ab4 | |
parent | 998d792cd06071d743d50183c31983f625a50492 (diff) |
изменено: media-sound/mpd/files/stupidity.patch
-rw-r--r-- | media-sound/mpd/files/stupidity.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media-sound/mpd/files/stupidity.patch b/media-sound/mpd/files/stupidity.patch index 1367516..c06f093 100644 --- a/media-sound/mpd/files/stupidity.patch +++ b/media-sound/mpd/files/stupidity.patch @@ -1,5 +1,5 @@ diff --git a/src/util/FormatString.cxx b/src/util/FormatString.cxx -index ceb7d48e0..28825cd5c 100644 +index 57ea57525..28825cd5c 100644 --- a/src/util/FormatString.cxx +++ b/src/util/FormatString.cxx @@ -30,7 +30,6 @@ @@ -28,7 +28,7 @@ index ceb7d48e0..28825cd5c 100644 - 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 } |