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

Use of delete in calibratesensor.cpp/.h #17

Open
Igitigit2 opened this issue Nov 30, 2022 · 2 comments
Open

Use of delete in calibratesensor.cpp/.h #17

Igitigit2 opened this issue Nov 30, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Igitigit2
Copy link

All occurences of the scalar delete in the calibrated sensor code should be replaced by delete[] (vector delete). The bahaviour is otherwise undefined since the arrays were allocated by new float[..].

/Chris

@runger1101001 runger1101001 self-assigned this Dec 1, 2022
@runger1101001 runger1101001 added the bug Something isn't working label Dec 1, 2022
@runger1101001
Copy link
Member

Thanks for reporting it!

@Igitigit2
Copy link
Author

Sorry, for not submitting it as a PR, but my code simply differs too much from the original version.

/Chris

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants