mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
Avoid possible null pointer access
This commit is contained in:
@@ -95,6 +95,7 @@ StreamConnection::~StreamConnection()
|
||||
// protected, we could expose it:
|
||||
//m_iodev->setErrorString("FTConnection providing data went away mid-transfer");
|
||||
|
||||
if ( !m_iodev.isNull() )
|
||||
((BufferIODevice*)m_iodev.data())->inputComplete();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user