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 "pammodutil.h" void _pammodutil_cleanup (pam_handle_t *pamh UNUSED, void *data, int error_status UNUSED) { if (data) { /* junk it */ (void) free(data); } }