Diff for /rpm2html/rdf_api.c between versions 1.21 and 1.22

version 1.21, 2000/04/11 12:26:30 version 1.22, 2000/07/19 21:15:41
Line 357  void rdfSetValue(rdfDescription desc, co Line 357  void rdfSetValue(rdfDescription desc, co
             str = xmlEncodeEntitiesReentrant(desc->doc, value);              str = xmlEncodeEntitiesReentrant(desc->doc, value);
             list->childs = xmlStringGetNodeList(desc->doc, value);              list->childs = xmlStringGetNodeList(desc->doc, value);
             if (str != NULL)              if (str != NULL)
                 free(str);                  debugFree(str);
             return;              return;
         }          }
         list = list->next;          list = list->next;
Line 369  void rdfSetValue(rdfDescription desc, co Line 369  void rdfSetValue(rdfDescription desc, co
     str = xmlEncodeEntitiesReentrant(desc->doc, value);      str = xmlEncodeEntitiesReentrant(desc->doc, value);
     xmlNewChild(desc, ns, property, str);      xmlNewChild(desc, ns, property, str);
     if (str != NULL)      if (str != NULL)
         free(str);          debugFree(str);
 }  }
   
 /*  /*
Line 483  void rdfElemSetValue(rdfElement elem, co Line 483  void rdfElemSetValue(rdfElement elem, co
     str = xmlEncodeEntitiesReentrant(elem->doc, value);      str = xmlEncodeEntitiesReentrant(elem->doc, value);
     elem->childs = xmlStringGetNodeList(elem->doc, str);      elem->childs = xmlStringGetNodeList(elem->doc, str);
     if (str != NULL)      if (str != NULL)
         free(str);          debugFree(str);
 }  }
   
 /************************************************************************  /************************************************************************

Removed from v.1.21  
changed lines
  Added in v.1.22


Webmaster