mirror of
https://github.com/falk-werner/webfused
synced 2024-10-27 20:44:08 +00:00
fixed memory leak in test
This commit is contained in:
parent
5145129c18
commit
7553846629
@ -120,6 +120,8 @@ int valid_conversation(
|
||||
int rc = conv->conv(2, messages, &responses, conv->appdata_ptr);
|
||||
if (PAM_SUCCESS == rc)
|
||||
{
|
||||
free(responses[0].resp);
|
||||
free(responses[1].resp);
|
||||
free(responses);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user