Closed Bug 337087 Opened 18 years ago Closed 18 years ago

Coverity 406, dead code in mozilla/security/manager/ssl/src/nsSDR.cpp

Categories

(Core :: Security: PSM, defect)

1.8 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jonsmirl, Assigned: KaiE)

References

(Blocks 1 open bug)

Details

(Keywords: coverity)

Attachments

(1 file)

It is not possible to get into the error case with r set.

+++ security/manager/ssl/src/nsSDR.cpp  8 May 2006 04:45:21 -0000
@@ -275,7 +275,6 @@
     r = 0;

 loser:
-    if (r) nsMemory::Free(r);
     if (decrypted) nsMemory::Free(decrypted);
     if (decoded) nsMemory::Free(decoded);
Security/manager is part of PSM, not NSS.
Assignee: nobody → kengert
Component: Libraries → Security: PSM
Product: NSS → Core
QA Contact: libraries
Target Milestone: 3.11.2 → ---
Version: 3.11 → 1.8 Branch
Attachment #221266 - Flags: review+
has this been checked in? r+ occured more than 2 months ago.
thanks for the reminder comment.

checked in
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: