Set ref to 1 for the new object.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21080 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -112,6 +112,7 @@ hx509_certs_init(hx509_context context,
|
||||
return ENOMEM;
|
||||
}
|
||||
c->ops = ops;
|
||||
c->ref = 1;
|
||||
|
||||
ret = (*ops->init)(context, c, &c->ops_data, flags, residue, lock);
|
||||
if (ret) {
|
||||
|
Reference in New Issue
Block a user