mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
common: Fix memory leak.
* g10/textfilter.c (copy_clearsig_text): Free buffer. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
d2d19063d3
commit
6b9a89e4c7
@ -240,5 +240,6 @@ copy_clearsig_text( IOBUF out, IOBUF inp, gcry_md_hd_t 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