Ignore:
Timestamp:
Sep 21, 2011 2:32:07 PM (9 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/objects/xmlparser/xmlparser.cc

    r2289 r2549  
    117117    }
    118118
    119     if (xmltext) {
    120         delete[] xmltext;
    121         xmltext = NULL;
    122     }
    123     if (expected) {
    124         delete[] expected;
     119    if (xmltext != NULL) {
     120        delete [] xmltext;
     121        xmltext = NULL;
     122    }
     123    if (expected != NULL) {
     124        delete [] expected;
    125125        expected = NULL;
    126126    }
Note: See TracChangeset for help on using the changeset viewer.