Skip to content

Commit

Permalink
fix a cert reference leak in strsclnt
Browse files Browse the repository at this point in the history
  • Loading branch information
ian.mcgreer%sun.com committed Apr 15, 2002
1 parent 25c5e35 commit b0b3355
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions security/nss/cmd/strsclnt/strsclnt.c
Expand Up @@ -295,6 +295,8 @@ printSecurityInfo(PRFileDesc *fd)
fprintf(stderr, "strsclnt: issuer DN: %s\n", ip);
PR_Free(ip);
}
}
if (cert) {
CERT_DestroyCertificate(cert);
cert = NULL;
}
Expand Down

0 comments on commit b0b3355

Please sign in to comment.