/xmlbench/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/xmlbench/trunk

« back to all changes in this revision

Viewing changes to security/libxml1.c

  • Committer: Suren A. Chilingaryan
  • Date: 2009-09-23 17:13:04 UTC
  • Revision ID: csa@dside.dyndns.org-20090923171304-osvtr4zqb29h11kd
Intel, Tango, Phobos, and RapidXML parsers; Memory benchmark scripts

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
}
44
44
 
45
45
void releaseXML(struct TestData *td) {
46
 
    xmlFreeDoc(doc);    
 
46
    if (doc) {
 
47
        xmlFreeDoc(doc);    
 
48
        doc = NULL;
 
49
    }
47
50
 
48
51
    xmlFreeNode(signature);
49
52