Ignore:
Timestamp:
12/27/07 16:11:27 (6 years ago)
Author:
xi
Message:

Fixed bugs and updated tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libyaml/trunk/src/emitter.c

    r264 r265  
    266266{ 
    267267    if (!ENQUEUE(emitter, emitter->events, *event)) { 
    268         yaml_event_delete(event); 
     268        yaml_event_destroy(event); 
    269269        return 0; 
    270270    } 
     
    277277                    emitter->events.list + emitter->events.head)) 
    278278            return 0; 
    279         yaml_event_delete(&DEQUEUE(emitter, emitter->events)); 
     279        yaml_event_destroy(&DEQUEUE(emitter, emitter->events)); 
    280280    } 
    281281 
Note: See TracChangeset for help on using the changeset viewer.