Permalink
Browse files

Fix crash in RAOP when a client disconnect

  • Loading branch information...
jyavenard committed Apr 20, 2012
1 parent 0349883 commit a2c32ba4f46e47b4eef1ffdca385cdc2f71291c4
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmythtv/mythraopdevice.cpp
@@ -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;
}
}

0 comments on commit a2c32ba

Please sign in to comment.