aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-06-30 15:55:06 +0000
committerJustus Winter <[email protected]>2016-06-30 16:50:16 +0000
commit1de362af9094e0a1a0be60f77fbea7c5190a4dcc (patch)
tree0575103f99d5c971c0c4f8b88eab009e37ccb13b
parentcommon: Fix memory leak. (diff)
downloadgnupg-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.c1
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);
}
}
}