diff options
author | Justus Winter <[email protected]> | 2016-06-30 15:38:48 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2016-06-30 16:50:16 +0000 |
commit | 6b9a89e4c7d6f19de62e0a908a8d80c98bf99819 (patch) | |
tree | 4fe70d1dc195d015649cab72937b98944b15a1eb /g10/textfilter.c | |
parent | common: Fix memory leak. (diff) | |
download | gnupg-6b9a89e4c7d6f19de62e0a908a8d80c98bf99819.tar.gz gnupg-6b9a89e4c7d6f19de62e0a908a8d80c98bf99819.zip |
common: Fix memory leak.
* g10/textfilter.c (copy_clearsig_text): Free buffer.
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'g10/textfilter.c')
-rw-r--r-- | g10/textfilter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/textfilter.c b/g10/textfilter.c index 5929c5f46..6ca4f8806 100644 --- a/g10/textfilter.c +++ b/g10/textfilter.c @@ -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 */ } |