- Timestamp:
- 2012-09-23T23:25:32Z (12 years ago)
- Branches:
- master
- Children:
- 2a6da96
- Parents:
- a07a8c2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/xmltree.c
ra07a8c2 r6f55bec 266 266 { 267 267 struct xt_parser *parser; 268 struct xt_node *ret ;268 struct xt_node *ret = NULL; 269 269 270 270 if( len == 0 ) … … 273 273 parser = xt_new( NULL, NULL ); 274 274 xt_feed( parser, in, len ); 275 ret = parser->root; 276 parser->root = NULL; 275 if( parser->cur == NULL ) 276 { 277 ret = parser->root; 278 parser->root = NULL; 279 } 277 280 xt_free( parser ); 278 281
Note: See TracChangeset
for help on using the changeset viewer.