1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Merge pull request #5837

jessica181920 (1):
      fix: Remove unnecessary null pointer check
This commit is contained in:
Anthony Bilinski 2019-09-16 13:09:38 -07:00
commit 9e70dbff4b
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C

View File

@ -131,10 +131,8 @@ CameraSource& CameraSource::getInstance()
void CameraSource::destroyInstance()
{
if (instance) {
delete instance;
instance = nullptr;
}
delete instance;
instance = nullptr;
}
/**