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

Possibility of memory leaks #6

Open
pwilken3 opened this issue Jul 24, 2015 · 1 comment
Open

Possibility of memory leaks #6

pwilken3 opened this issue Jul 24, 2015 · 1 comment

Comments

@pwilken3
Copy link
Contributor

Some classes extensively use pointers (mtsVFController is a notable example) and aren't properly deleting them in the destructor. I will go through and fix these problems, but it may be worth using smart pointers instead so these problems are less likely to occur in the future. In fact, shared pointers completely negate the need for tracking "users" of kinematics and sensor objects.

@pwilken3
Copy link
Contributor Author

This problem was solved for mtsVFController, but proper destructors for kinematics and sensor objects can't be added until issue 14 is resolved.

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

No branches or pull requests

1 participant