1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:07:34 +00:00

Plug leaks in SynthFS::remove_file().

The process spawn stress test can now run forever. :^)
This commit is contained in:
Andreas Kling 2018-12-28 03:09:45 +01:00
parent 3f3535213b
commit ab72666f48
3 changed files with 39 additions and 2 deletions

View file

@ -37,7 +37,7 @@ private:
explicit StringImpl(ConstructTheEmptyStringImplTag) : m_characters("") { }
enum ConstructWithInlineBufferTag { ConstructWithInlineBuffer };
explicit StringImpl(ConstructWithInlineBufferTag, size_t length) : m_length(length), m_characters(m_inline_buffer) { }
StringImpl(ConstructWithInlineBufferTag, size_t length);
void compute_hash() const;