some cppcheck and clang-tidy fixies

This commit is contained in:
asapelkin 2019-10-31 23:44:40 +03:00 committed by Jonathan White
parent ac7face247
commit 98badfb4a2
9 changed files with 16 additions and 14 deletions

View file

@ -341,6 +341,8 @@ OpVaultReader::decodeB64CompositeKeys(const QString& b64, const QByteArray& encK
result->errorStr = tr("Unable to decode masterKey: %1").arg(keyKey01.errorString());
return result;
}
delete result;
const QByteArray keyKey = keyKey01.getClearText();
return decodeCompositeKeys(keyKey);