diff options
author | Justus Winter <[email protected]> | 2016-06-30 15:55:06 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2016-06-30 16:50:16 +0000 |
commit | 1de362af9094e0a1a0be60f77fbea7c5190a4dcc (patch) | |
tree | 0575103f99d5c971c0c4f8b88eab009e37ccb13b | |
parent | common: Fix memory leak. (diff) | |
download | gnupg-1de362af9094e0a1a0be60f77fbea7c5190a4dcc.tar.gz gnupg-1de362af9094e0a1a0be60f77fbea7c5190a4dcc.zip |
g10: Fix memory leak.
* g10/sign.c (mk_notation_policy_etc): Free 'mbox'.
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | g10/sign.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/sign.c b/g10/sign.c index 5e4679713..0f16e96e1 100644 --- a/g10/sign.c +++ b/g10/sign.c @@ -156,6 +156,7 @@ mk_notation_policy_etc (PKT_signature *sig, if (DBG_LOOKUP) log_debug ("setting Signer's UID to '%s'\n", mbox); build_sig_subpkt (sig, SIGSUBPKT_SIGNERS_UID, mbox, strlen (mbox)); + xfree (mbox); } } } |