Skip to content

Conversation

@JanFellner
Copy link
Contributor

@JanFellner JanFellner commented Jan 12, 2026

  • When we create an empty SJSon::Value also init it the internal value to zero
  • When we delete the memory allocated set that pointer to a nullptr
  • Removed JSON tmp variables when constructing objects. Creation is now done in the target objects

…ed to zero

Ensure that if we delete something that adress is nullptr right away
Reduce copying and moving data through tmp values. Directly create the targets in the destination object
Copy link
Contributor

@stemi1 stemi1 left a comment

Choose a reason for hiding this comment

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

seen and approved

@JanFellner JanFellner merged commit f487b8a into main Jan 12, 2026
5 checks passed
@JanFellner JanFellner deleted the feature/UCAAS-1211-analyse-leaks-in-jsoncpp branch January 12, 2026 13:16
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.

3 participants