mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-23 21:59:57 +01:00
g10: Fix memory leak.
* g10/sign.c (mk_notation_policy_etc): Free 'mbox'. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
6b9a89e4c7
commit
1de362af90
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user