Skip to content

Conversation

Alvaro-Kothe
Copy link
Contributor

@Alvaro-Kothe Alvaro-Kothe commented Aug 29, 2025

@swt2c
Copy link
Contributor

swt2c commented Aug 29, 2025

Thanks @Alvaro-Kothe, I can confirm this resolves the memory leak that I am seeing. Also, your solution makes sense.

👍

@mroeschke mroeschke requested a review from WillAyd August 29, 2025 19:02
@Alvaro-Kothe Alvaro-Kothe marked this pull request as ready for review August 29, 2025 19:04
Copy link
Contributor

@swt2c swt2c left a comment

Choose a reason for hiding this comment

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

I think you might also need to add a GET_TC(tc)->freeCStr = 1; in Object_getBigNumStringValue

@Alvaro-Kothe
Copy link
Contributor Author

Thanks for pointing that out. Just fixed it.

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.

BUG: memory leak in to_json when converting DateTime values
2 participants