Do not free xmlDoc before unlinking its tree (#86472)
gitea/lasso/pipeline/head This commit looks good
Details
gitea/lasso/pipeline/head This commit looks good
Details
This commit is contained in:
parent
cbe2c45455
commit
534d2b9698
|
@ -1250,9 +1250,9 @@ cleanup:
|
|||
if (doc) {
|
||||
xmlRemoveID(doc, id_attr);
|
||||
xmlUnlinkNode(xmlnode);
|
||||
lasso_release_doc(doc);
|
||||
xmlnode->parent = old_parent;
|
||||
xmlSetTreeDoc(xmlnode, NULL);
|
||||
lasso_release_doc(doc);
|
||||
}
|
||||
lasso_release_signature_context(dsig_ctx);
|
||||
return rc;
|
||||
|
|
Loading…
Reference in New Issue