зеркало из https://github.com/mozilla/gecko-dev.git
65b6ae714e
Mem and resource leaks in ldapsinit.c 1) I'm pretty sure the reference to socket should be fd instead. I don't know why it compiled with socket in there . . . note to self: read compiler warnings . . . 2) The cert returned by SSL_PeerCertificate is "dup"ed, so we need to call CERT_DestroyCertificate to release it otherwise we'll leak references. 3) The hostname returned by SSL_RevealURL is strduped and must be freed. Reviewed by Mark and Pete (Thanks!) |
||
---|---|---|
.. | ||
c-sdk | ||
ds-plugins | ||
java-sdk | ||
perldap | ||
tools | ||
xpcom | ||
Makefile | ||
buildjsdk.txt | ||
ldapsdk.mak | ||
ldapsdk.mk |