Changeset 21167d2 for protocols/jabber/xmltree.c
- Timestamp:
- 2006-09-20T19:42:27Z (18 years ago)
- Branches:
- master
- Children:
- 70f6aab8
- Parents:
- f06894d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/xmltree.c
rf06894d r21167d2 206 206 struct xt_node *c, *prev; 207 207 208 /* Let's just hope xt->root isn't NULL! */ 208 if( !xt || !xt->root ) 209 return; 210 209 211 if( node == NULL ) 210 212 return xt_cleanup( xt, xt->root ); … … 357 359 int i; 358 360 361 if( !node ) 362 return; 363 359 364 g_free( node->name ); 360 365 g_free( node->text ); … … 380 385 void xt_free( struct xt_parser *xt ) 381 386 { 387 if( !xt ) 388 return; 389 382 390 if( xt->root ) 383 391 xt_free_node( xt->root ); … … 407 415 { 408 416 int i; 417 418 if( !node ) 419 return NULL; 409 420 410 421 for( i = 0; node->attr[i].key; i ++ )
Note: See TracChangeset
for help on using the changeset viewer.