mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 02:48:50 +00:00
Fix memory leak when printing any error's source code. (#12831)
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
This commit is contained in:
@@ -277,7 +277,7 @@ pub const Tag = enum(u8) {
|
||||
/// into a WTF::String.
|
||||
/// Can be in either `utf8` or `utf16le` encodings.
|
||||
ZigString = 2,
|
||||
/// Static memory that is guarenteed to never be freed. When converted to WTF::String,
|
||||
/// Static memory that is guaranteed to never be freed. When converted to WTF::String,
|
||||
/// the memory is not cloned, but instead referenced with WTF::ExternalStringImpl.
|
||||
/// Can be in either `utf8` or `utf16le` encodings.
|
||||
StaticZigString = 3,
|
||||
|
||||
Reference in New Issue
Block a user