1
0
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:
Falk Werner 2020-03-20 09:52:56 +01:00
parent 5145129c18
commit 7553846629

View File

@ -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);
}