Skip to content

reset memory_holder when not self_allocated #258

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 6, 2025

Conversation

traines-source
Copy link
Contributor

Let's try again: When initialized by cista::read, self_allocated_ is set to false (el_.reset() skips reset), but apparently we still need to free the members (as before), but the el_.el_ itself is not heap-allocated (?). At least this appears to fix MOTIS imports both sanitized and unsanitized and with and without OSM.

@felixguendling felixguendling merged commit 4fc4aa4 into felixguendling:master Jul 6, 2025
10 checks passed
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