plug memory leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20771 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -360,10 +360,9 @@ p12_init(hx509_context context,
|
||||
if (flags & HX509_CERTS_CREATE) {
|
||||
ret = hx509_certs_init(context, "MEMORY:ks-file-create",
|
||||
0, lock, &p12->certs);
|
||||
if (ret)
|
||||
goto out;
|
||||
*data = p12;
|
||||
return 0;
|
||||
if (ret == 0)
|
||||
*data = p12;
|
||||
goto out;
|
||||
}
|
||||
|
||||
ret = _hx509_map_file(residue, &buf, &len, NULL);
|
||||
|
Reference in New Issue
Block a user