Skip to content

Commit

Permalink
Clarify the need to use xmlFreeNode after xmlUnlinkNode
Browse files Browse the repository at this point in the history
Just add one small sentence to the xmlUnlinkNode function comments
  • Loading branch information
veillard committed Jan 26, 2012
1 parent 0795348 commit a6b14bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tree.c
Expand Up @@ -3732,6 +3732,8 @@ xmlFreeNode(xmlNodePtr cur) {
* @cur: the node
*
* Unlink a node from it's current context, the node is not freed
* If one need to free the node, use xmlNodeFree() routine after the
* unlink.
*/
void
xmlUnlinkNode(xmlNodePtr cur) {
Expand Down

0 comments on commit a6b14bf

Please sign in to comment.