Skip to content

Commit

Permalink
Fix crash in RAOP when a client disconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
jyavenard committed Apr 20, 2012
1 parent 0349883 commit a2c32ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/mythraopdevice.cpp
Expand Up @@ -243,8 +243,8 @@ void MythRAOPDevice::deleteClient(void)
if ((*it)->GetSocket()->state() == QTcpSocket::UnconnectedState)
{
LOG(VB_GENERAL, LOG_INFO, LOC + "Removing client connection.");
delete *it;
m_clients.removeOne(*it);
delete *it;
return;
}
}
Expand Down

0 comments on commit a2c32ba

Please sign in to comment.