Changeset 214

Show
Ignore:
Timestamp:
05/19/2005 01:07:42 (4 years ago)
Author:
why
Message:

ext/ruby/ext/syck/rubyext.c: Memory leak in mktime.

lib/emitter.c: scale back seq-in-map on a typed seq. prevents the shift/reduce

problem with the parser.

Location:
trunk
Files:
1 added
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/CHANGELOG

    r213 r214  
    88    - No anchors on simple strings. 
    99    - Outputing of domain and private types and anchors properly. 
     10    - Memory leak in mktime. 
     11 
     12    lib/emitter.c: scale back seq-in-map on a typed seq.  prevents the shift/reduce 
     13      problem with the parser. 
    1014 
    1115- version: 0.55 
  • trunk/ext/ruby/ext/syck/rubyext.c

    r213 r214  
     1/* -*- indent-tabs-mode: nil -*- */ 
    12/* 
    23 * rubyext.c 
     
    274275        MEMCPY(padded, ptr + 1, char, end - (ptr + 1)); 
    275276        usec = strtol(padded, NULL, 10); 
     277        S_FREE(padded); 
    276278    } 
    277279    else 
  • trunk/lib/emitter.c

    r213 r214  
    10221022                    syck_emitter_write( e, "?", 1 ); 
    10231023                    parent->status = syck_lvl_mapx; 
    1024                 } else { 
     1024                /* shortcut -- the lvl->anctag check should be unneccesary but 
     1025                 * there is a nasty shift/reduce in the parser on this point and 
     1026                 * i'm not ready to tickle it. */ 
     1027                } else if ( lvl->anctag == 0 ) {  
    10251028                    lvl->spaces = parent->spaces; 
    10261029                }