diff options
author | des <des@FreeBSD.org> | 2003-06-01 12:54:03 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2003-06-01 12:54:03 +0000 |
commit | 3409f2d5db068fa23d2344776412b86150352336 (patch) | |
tree | 6198c196f6c160a3b6c1800a13a74dbaf48a8cb8 /contrib/openpam/lib/pam_verror.c | |
parent | 1b2b5956a02e1d56168e372dc96807d70b3ca363 (diff) | |
download | FreeBSD-src-3409f2d5db068fa23d2344776412b86150352336.zip FreeBSD-src-3409f2d5db068fa23d2344776412b86150352336.tar.gz |
Vendor import of OpenPAM Digitalis.
Diffstat (limited to 'contrib/openpam/lib/pam_verror.c')
-rw-r--r-- | contrib/openpam/lib/pam_verror.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/contrib/openpam/lib/pam_verror.c b/contrib/openpam/lib/pam_verror.c index cfb6e0f..292cadf 100644 --- a/contrib/openpam/lib/pam_verror.c +++ b/contrib/openpam/lib/pam_verror.c @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2002 Networks Associates Technology, Inc. + * Copyright (c) 2002-2003 Networks Associates Technology, Inc. * All rights reserved. * * This software was developed for the FreeBSD Project by ThinkSec AS and @@ -31,7 +31,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $P4: //depot/projects/openpam/lib/pam_verror.c#6 $ + * $P4: //depot/projects/openpam/lib/pam_verror.c#8 $ */ #include <stdarg.h> @@ -40,6 +40,8 @@ #include <security/pam_appl.h> #include <security/openpam.h> +#include "openpam_impl.h" + /* * OpenPAM extension * @@ -55,7 +57,7 @@ pam_verror(pam_handle_t *pamh, int r; r = pam_vprompt(pamh, PAM_ERROR_MSG, &rsp, fmt, ap); - free(rsp); /* ignore response */ + FREE(rsp); /* ignore response */ return (r); } |