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

Free memory allocated for storing pdname and runtime logs #109

Closed
wants to merge 2 commits into from

Conversation

quic-ansa
Copy link

There is a memory leak of 120 bytes every time handle open is requested for staticpd and function returns without freeing memory allocated for storing pdname in uri. Similarly 256 bytes of memory leaked with runtime logging buffer. Free this allocated memory before returning from function.

There is a memory leak of 120 bytes every time handle open is
requested for staticpd and function returns without freeing memory
allocated for storing pdname in uri. Similarly 256 bytes of memory
leaked with runtime logging buffer. Free this allocated memory
before returning from function.

Signed-off-by: Ansa Ahmed <quic_ansa@quicinc.com>
Every time daemon is started and listener gets called 49Bytes of
memory is allocated to get the device node name. Free this memory
to avoid leak.

Signed-off-by: Ansa Ahmed <quic_ansa@quicinc.com>
@quic-ansa quic-ansa closed this Nov 15, 2024
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

Successfully merging this pull request may close these issues.

1 participant