diff options
Diffstat (limited to 'Libraries/LibCore/CHttpJob.cpp')
-rw-r--r-- | Libraries/LibCore/CHttpJob.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibCore/CHttpJob.cpp b/Libraries/LibCore/CHttpJob.cpp index 716d170acb..472aae01d9 100644 --- a/Libraries/LibCore/CHttpJob.cpp +++ b/Libraries/LibCore/CHttpJob.cpp @@ -116,7 +116,7 @@ void CHttpJob::finish_up() void CHttpJob::start() { ASSERT(!m_socket); - m_socket = new CTCPSocket(this); + m_socket = CTCPSocket::construct(this); m_socket->on_connected = [this] { dbg() << "CHttpJob: on_connected callback"; on_socket_connected(); |