Skip to content
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

Potential Double Free / Memory leak in MapObjectController #86

Open
studiofuga opened this issue Sep 21, 2016 · 0 comments
Open

Potential Double Free / Memory leak in MapObjectController #86

studiofuga opened this issue Sep 21, 2016 · 0 comments
Labels
Milestone

Comments

@studiofuga
Copy link
Collaborator

A potential double free / memory leak bug is present in MapObjectController.cpp line 321:

OGRSFDriverRegistrar::Open will return a static allocated pointer that must be released using ReleaseDataSource, and not a shared_ptr as currently done.

@studiofuga studiofuga added the bug label Sep 21, 2016
@studiofuga studiofuga added this to the 0.9.12 milestone Mar 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant