mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-05 19:01:18 +03:00
tree: Deprecate xmlBuffer members
This commit is contained in:
@ -2773,8 +2773,7 @@ libxml_serializeNode(ATTRIBUTE_UNUSED PyObject * self, PyObject * args)
|
||||
xmlSaveTree(ctxt, node);
|
||||
xmlSaveClose(ctxt);
|
||||
|
||||
c_retval = buf->content;
|
||||
buf->content = NULL;
|
||||
c_retval = xmlBufferDetach(buf);
|
||||
|
||||
xmlBufferFree(buf);
|
||||
py_retval = libxml_charPtrWrap((char *) c_retval);
|
||||
|
Reference in New Issue
Block a user