Skip to content

json: fix memory leak on result messages#23172

Merged
spytheman merged 1 commit intovlang:masterfrom
felipensp:fix_json_memory_leaks
Dec 15, 2024
Merged

json: fix memory leak on result messages#23172
spytheman merged 1 commit intovlang:masterfrom
felipensp:fix_json_memory_leaks

Conversation

@felipensp
Copy link
Copy Markdown
Member

@felipensp felipensp commented Dec 15, 2024

For test just check with:
v -keepc -g -cc clang-17 -cflags -fsanitize=address,pointer-compare,pointer-subtract test vlib/json/tests/json_option_raw_test.v

Huly®: V_0.6-21609

Copy link
Copy Markdown
Contributor

@spytheman spytheman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work.

@spytheman spytheman marked this pull request as ready for review December 15, 2024 14:42
@spytheman spytheman merged commit fc8cd58 into vlang:master Dec 15, 2024
@felipensp felipensp deleted the fix_json_memory_leaks branch December 15, 2024 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants