Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #47 from monich/leak2
Fix memory leak in SSOSessionManager::createSsoIdentity
  • Loading branch information
VDVsx committed Sep 4, 2014
2 parents 5a0bec7 + 71190b9 commit b1454b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qmf/src/libraries/qmfclient/ssosessionmanager.cpp
Expand Up @@ -148,6 +148,7 @@ bool SSOSessionManager::createSsoIdentity(const QMailAccountId &id, const QStrin
account->selectService(emailServices.first());
Accounts::AccountService* emailService = new Accounts::AccountService(account, account->selectedService());
Accounts::AuthData auth = emailService->authData();
delete emailService;
_accountProvider = account->providerName();
_authMethod = auth.method();
_authMechanism = auth.mechanism();
Expand Down

0 comments on commit b1454b0

Please sign in to comment.