|
Description
|
__pam_display_msg() calls do_conv which will return a pam_response structure. It is the responsibility of the pam framework to free this structure. Here is a snippet from the pam_start manpage:
----------------
The structure pam_response is used by the authentication
service to get the user's response back from the application
or user. The storage used by pam_response has to be
allocated by the application and freed by the PAM modules.
----------------
This routine has no interest in the pam_response structure, it
merely wants to have a message displayed. So, we need to
free this pam_response up in the __pam_display_msg() routine
before returning.
|