Commit 14728b61 authored by David Faure's avatar David Faure
Browse files

Fix gpgsm processes being leaked due to QGpgME::KeyListJob not being deleted

BUG: 183875
FIXED-IN: 17.04
parent 5717310f
......@@ -869,7 +869,7 @@ void SignedMessagePart::sigStatusToMetaData()
mMetaData.sigSummary = signature.summary();
if (mMetaData.isGoodSignature && !key.keyID()) {
// Search for the key by it's fingerprint so that we can check for
// Search for the key by its fingerprint so that we can check for
// trust etc.
QGpgME::KeyListJob *job = mCryptoProto->keyListJob(false); // local, no sigs
if (!job) {
......@@ -891,6 +891,7 @@ void SignedMessagePart::sigStatusToMetaData()
} else {
key = found_keys[0];
}
delete job;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment