Skip to content

Title: Memory leak fix#44

Merged
schmidtw merged 2 commits intoxmidt-org:nopoll_yoctofrom
akif1716:memleakFix-nopoll_yocto
May 24, 2023
Merged

Title: Memory leak fix#44
schmidtw merged 2 commits intoxmidt-org:nopoll_yoctofrom
akif1716:memleakFix-nopoll_yocto

Conversation

@akif1716
Copy link

Reason for change : The order of unreferencing was wrong, leading to leak redirectURL struct member as the parent reference is freed first and then tried to free the child of freed parent pointer. This commit fixes the same

akif1716 and others added 2 commits May 24, 2023 20:52
Reason for change : The order of unreferencing was wrong, leading to leak redirectURL struct member
as the parent reference is freed first and then tried to free the child of freed parent pointer.
This commit fixes the same

Signed-off-by: Mohamed Shaikh <mohamed.shaikh@t-systems.com>
adjusted indentation
@schmidtw schmidtw merged commit 39ee89f into xmidt-org:nopoll_yocto May 24, 2023
@kraj
Copy link
Collaborator

kraj commented May 24, 2023

This looks a good fix to upstream as well. Squash both into one and send a PR to https://github.com/ASPLes/nopoll

@akif1716
Copy link
Author

This looks a good fix to upstream as well. Squash both into one and send a PR to https://github.com/ASPLes/nopoll

Hi @kraj , this fix cannot be upstreamed to https://github.com/ASPLes/nopoll as the source is different there and the pointer RedirectURL is missing in ASPLes master branch.
this is only added in comcast nopoll_yocto branch

@kraj
Copy link
Collaborator

kraj commented May 24, 2023

This looks a good fix to upstream as well. Squash both into one and send a PR to https://github.com/ASPLes/nopoll

Hi @kraj , this fix cannot be upstreamed to https://github.com/ASPLes/nopoll as the source is different there and the pointer RedirectURL is missing in ASPLes master branch. this is only added in comcast nopoll_yocto branch

thanks.

@shilpa24balaji
Copy link

@kraj @schmidtw We had submitted PR ASPLes#50 for the URL redirect changes but its not accepted yet

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.

4 participants