Workaround for segfault caused by addChild(): child now points to a new unrelated xmlNode to avoid the crashes. DO NOT suppose child is the newly added child: in some cases it's not.
Workaround for segfault caused by addChild(): child now points to a new unrelated xmlNode to avoid the crashes. DO NOT suppose child is the newly added child: in some cases it's not.

Konsus/libxml,rc0x03/libxmljs,rchipka/libxmljs,CodeFridge/libxmljs_mem,improvisio-software/libxmljs,Visya/libxmljs,gagern/libxmljs,CodeFridge/libxmljs_mem,Visya/libxmljs,Konsus/libxml,polotek/libxmljs,libxmljs/libxmljs,improvisio-software/libxmljs,Konsus/libxml,rc0x03/libxmljs,gagern/libxmljs,rchipka/libxmljs,improvisio-software/libxmljs,hildjj/libxmljs,rchipka/libxmljs,rc0x03/libxmljs,sergeche/libxmljs,hildjj/libxmljs,gagern/libxmljs,sergeche/libxmljs,polotek/libxmljs,Visya/libxmljs,polotek/libxmljs,libxmljs/libxmljs,libxmljs/libxmljs,hildjj/libxmljs,sergeche/libxmljs,CodeFridge/libxmljs_mem