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

API Schema objects around recursive API structure VideoStreamingCapability are leaking #3689

Closed
iCollin opened this issue Apr 20, 2021 · 1 comment
Labels
Projects

Comments

@iCollin
Copy link
Collaborator

iCollin commented Apr 20, 2021

Bug Report

Some API Schema objects are not being free'd in memory when Core shuts down.
Impact is low as these are allocated once with a lifecycle equal to that of the application.

Reproduction Steps
  1. valgrind --leak-check=full ./smartDeviceLinkCore
  2. Wait long enough that API objects are constructed (valgrind slows app a lot)
  3. send SIGINT
Expected Behavior

Valgrind says no memory was leaked

Observed Behavior

Many definitive leaks are detected around API Schema VideoStreamingCapability and its children

OS & Version Information
  • SDL Core Version: develop @ d7c804d
@iCollin
Copy link
Collaborator Author

iCollin commented May 21, 2021

Closed via #3703

@iCollin iCollin closed this as completed May 21, 2021
@iCollin iCollin added this to Completed Bug Fixes/ Enhancements in 8.0.0 May 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
8.0.0
Completed Bug Fixes / Enhancements
Development

No branches or pull requests

2 participants