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

Fix memory leak #1

Closed
Abir-Tx opened this issue Mar 14, 2021 · 2 comments
Closed

Fix memory leak #1

Abir-Tx opened this issue Mar 14, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Abir-Tx
Copy link
Owner

Abir-Tx commented Mar 14, 2021

Use smart pointers in the labsubname for loop. The pointer of the QLineEdit is leaking memory

@Abir-Tx Abir-Tx added the bug Something isn't working label Mar 14, 2021
Abir-Tx added a commit that referenced this issue Mar 15, 2021
- Hide the back_5 button until the #1 issue is fixed as calling the dynamic QlineEdit creation function leaks memory
@Abir-Tx
Copy link
Owner Author

Abir-Tx commented Mar 16, 2021

The commit which is causing the leak is 1c16296

@Abir-Tx Abir-Tx self-assigned this Mar 17, 2021
@Abir-Tx
Copy link
Owner Author

Abir-Tx commented Mar 17, 2021

From reddit user u/micod suggested to use qDeleteAll to fix this issue

Repository owner locked as resolved and limited conversation to collaborators Mar 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant