aboutsummaryrefslogtreecommitdiff
path: root/libpam/pam_modutil_cleanup.c
blob: 2077cbd728def6fd680dbc0f696127941768a58e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * $Id$
 *
 * This function provides a common pam_set_data() friendly version of free().
 */

#include "pam_modutil_private.h"

#include <stdlib.h>

void
pam_modutil_cleanup (pam_handle_t *pamh UNUSED, void *data,
		     int error_status UNUSED)
{
	/* junk it */
	free(data);
}