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

Memory leak in function add_banner #6144

Open
Hripsime-H opened this issue Aug 28, 2023 · 1 comment
Open

Memory leak in function add_banner #6144

Hripsime-H opened this issue Aug 28, 2023 · 1 comment

Comments

@Hripsime-H
Copy link

Memory leak in function add_banner.
The memory leak is reported by a static analyzer tool developed at CAST (https://www.linkedin.com/company/cast-center).

Specifically, dynamic memories are allocated here and here if cupsArrayAdd fails to add temp here, allocated memories remain not freed. There are similar cases in other functions which use cupsArrayAdd.

@ma-ilsi
Copy link

ma-ilsi commented Sep 3, 2023

Hmm, this leak is easier to follow than #6145. Anyone from the team seen this? Seems like a memory leak to me.

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

2 participants