This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
DPF
mirror of
https://github.com/DISTRHO/DPF
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
Fix a memory leak in the String class
Signed-off-by: falkTX <falktx@falktx.com>
pull/375/head
falkTX
Filipe Coelho
<falktx@falktx.com>
3 years ago
parent
cbc326aa30
commit
e207aafcb2
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
distrho/extra/String.hpp
+ 1
- 1
distrho/extra/String.hpp
View File
@@ -861,7 +861,7 @@ public:
std::memcpy(newBuf, fBuffer, fBufferLen);
std::memcpy(newBuf + fBufferLen, strBuf, strBufLen + 1);
return String(newBuf);
return String(newBuf
, false
);
}
String operator+(const String& str) noexcept
Write
Preview
Loading…
Cancel
Save