mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +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 )
|
if( truncated )
|
||||||
log_info(_("input line longer than %d characters\n"), MAX_LINELEN );
|
log_info(_("input line longer than %d characters\n"), MAX_LINELEN );
|
||||||
|
|
||||||
|
xfree (buffer);
|
||||||
return 0; /* okay */
|
return 0; /* okay */
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user