mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-02 12:01:32 +01:00
gpg: Fix memory leak.
* g10/textfilter.c (copy_clearsig_text): Free the buffer. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org> (backport from master commit: 6b9a89e4c7d6f19de62e0a908a8d80c98bf99819)
This commit is contained in:
parent
1b1f44846b
commit
6b4abf1d49
@ -245,5 +245,6 @@ copy_clearsig_text( IOBUF out, IOBUF inp, MD_HANDLE md,
|
||||
if( truncated )
|
||||
log_info(_("input line longer than %d characters\n"), MAX_LINELEN );
|
||||
|
||||
xfree (buffer);
|
||||
return 0; /* okay */
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user