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

HTTPClient удалить экземпляр QTcpSocket #2

Closed
Neomer opened this issue Dec 14, 2017 · 1 comment
Closed

HTTPClient удалить экземпляр QTcpSocket #2

Neomer opened this issue Dec 14, 2017 · 1 comment
Assignees
Labels

Comments

@Neomer
Copy link
Owner

Neomer commented Dec 14, 2017

В функции
HTTPResponse HTTPClient::get(QUrl url)
Есть инициализация QTcpSocket *socket = new QTcpSocket(); добавить удаление, так как потенциально приводит к утечке памяти.

@Neomer Neomer added the bug label Dec 14, 2017
@Neomer Neomer self-assigned this Dec 14, 2017
@Neomer Neomer changed the title HTTPClient удалить экземпляр socket HTTPClient удалить экземпляр QTcpSocket Dec 14, 2017
Neomer pushed a commit that referenced this issue Dec 15, 2017
Neomer added a commit that referenced this issue Dec 15, 2017
@Neomer
Copy link
Owner Author

Neomer commented Dec 15, 2017

Решено

@Neomer Neomer closed this as completed Dec 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant