mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
rbutil: Fix invalid access on error in test.
Change-Id: Ie9c65041bb4a1ba4215a2d0786bf984cfa6d023b
This commit is contained in:
parent
c753d31549
commit
0768705545
1 changed files with 3 additions and 1 deletions
|
@ -98,8 +98,10 @@
|
|||
socket->close();
|
||||
m_requestNumber++;
|
||||
}
|
||||
if (socket->state() == QTcpSocket::UnconnectedState)
|
||||
if (socket->state() == QTcpSocket::UnconnectedState) {
|
||||
delete socket;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
void discardClient()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue