Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18797 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -853,6 +853,7 @@ request_create(struct request_create_options *opt, int argc, char **argv)
|
||||
ret = _hx509_request_set_SubjectPublicKeyInfo(context,
|
||||
req,
|
||||
&key);
|
||||
free_SubjectPublicKeyInfo(&key);
|
||||
if (ret)
|
||||
errx(1, "_hx509_request_set_SubjectPublicKeyInfo: %d", ret);
|
||||
|
||||
|
Reference in New Issue
Block a user