[Bug 195128] Memory leaks in lib/libpam/modules due to memory handling with login_getcapstr, et al

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Nov 18 11:08:53 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195128

--- Comment #2 from Dag-Erling Smørgrav <des at FreeBSD.org> ---
Wait. Actually, the login_cap(3) man page says:

     Once a program no longer wishes to use a login_cap_t object,
     login_close() may be called to free all resources used by the login
     class.  The login_close() function may be passed a NULL pointer with no
     harmful side-effects.

so this should not be a problem.  Or did I miss something?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list