mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
sm: Fix minor memory leak in --export-p12.
* sm/export.c (gpgsm_p12_export): Free KEYGRIP. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
29aac77980
commit
80719612b7
@ -479,6 +479,7 @@ gpgsm_p12_export (ctrl_t ctrl, const char *name, estream_t stream, int rawmode)
|
||||
leave:
|
||||
gnupg_ksba_destroy_writer (b64writer);
|
||||
ksba_cert_release (cert);
|
||||
xfree (keygrip);
|
||||
xfree (desc);
|
||||
keydb_release (hd);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user