[xml] Pointer comparison problem in entities.c (2.3.14)
- From: xml thewrittenword com
- To: xml gnome org
- Subject: [xml] Pointer comparison problem in entities.c (2.3.14)
- Date: Thu, 16 Aug 2001 12:51:12 -0500
In entities.c:
static void xmlFreeEntity(xmlEntityPtr entity) {
if (entity == NULL) return;
if ((entity->children) && (entity->children->parent == entity))
xmlFreeNodeList(entity->children);
You cannot do this. entity and entity->children->parent are of
different types. You need to case one to do a pointer comparison.
Looks like you fixed this in 2.4.2 though.
--
albert chin (china thewrittenword com)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]