Skip to content

Fix insert_point double free - #117

Merged
johnny-bit merged 2 commits into
masterfrom
fix-45-insert-point
Aug 22, 2026
Merged

Fix insert_point double free#117
johnny-bit merged 2 commits into
masterfrom
fix-45-insert-point

Conversation

@johnny-bit

Copy link
Copy Markdown
Collaborator

Using insert_point from Python works, but then the process exits with a double-free. Unlike add_point, it stored the caller's OsmGpsMapPoint instead of a copy, so the track and Python both free it.

Fixes #45

@johnny-bit johnny-bit added this to the 1.2.2 milestone Aug 16, 2026
@johnny-bit
johnny-bit merged commit e2b2a21 into master Aug 22, 2026
1 check passed
@johnny-bit
johnny-bit deleted the fix-45-insert-point branch August 22, 2026 09:29
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.

Failure when using using osm_gps_map_track_insert_point in python

1 participant