Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove redundant null pointer check
  • Loading branch information
Berserker committed Sep 21, 2016
commit 666ae85b9367e5abb45edc677f821badc072c319
3 changes: 1 addition & 2 deletions net/auth/src/TAuthenticate.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -842,8 +842,7 @@ Bool_t TAuthenticate::Authenticate()
}

// Cleanup timer
if (alarm)
SafeDelete(alarm);
SafeDelete(alarm);

return rc;

Expand Down
4 changes: 2 additions & 2 deletions proof/proof/src/TProofServ.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -4677,7 +4677,7 @@ void TProofServ::ProcessNext(TString *slb)

// Remove aborted queries from the list
if (fPlayer->GetExitStatus() == TVirtualProofPlayer::kAborted) {
if (pqr) SafeDelete(pqr);
SafeDelete(pqr);
if (fQMgr) fQMgr->RemoveQuery(pq);
} else {
// Keep in memory only light infor about a query
Expand Down Expand Up @@ -6527,7 +6527,7 @@ void TProofServ::HandleSubmerger(TMessage *mess)
deleteplayer = kFALSE;
}

if (t) SafeDelete(t);
SafeDelete(t);

}

Expand Down