mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
tests: Minor memory fix.
* tests/openpgp/fake-pinentry.c (get_passphrase): Free the memory. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
256e861bce
commit
b9440aa369
@ -126,6 +126,8 @@ get_passphrase (const char *fname)
|
||||
fname, fname_new, strerror (errno));
|
||||
exit (1);
|
||||
}
|
||||
|
||||
free (fname_new);
|
||||
return passphrase;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user