diff options
author | why <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-26 23:37:37 +0000 |
---|---|---|
committer | why <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-26 23:37:37 +0000 |
commit | dca7db725d2812358005f32e23486d78a0924bd5 (patch) | |
tree | bce523b227d1020c7b2eebe70596d1c988b8ae69 /ext/syck/syck.c | |
parent | d53e34bbfaaefe3ee4da8eded605c0fab22d7736 (diff) |
* lib/yaml/rubytypes.rb: passing Range tests.
* ext/syck/syck.h: version 0.44.
* ext/syck/gram.c: transfers no longer open an indentation.
fixed transfers which precede blocks.
* ext/syck/token.c: ditto.
* ext/syck/syck.c: fixed segfault if an anchor has been released already.
* ext/syck/node.c (syck_free_members): organized order of free'd nodes.
* ext/syck/rubyext.c (syck_emitter_write_m): test for proper string with
StringValue.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/syck/syck.c')
-rw-r--r-- | ext/syck/syck.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/syck/syck.c b/ext/syck/syck.c index ec4e7a1efd..72a883df74 100644 --- a/ext/syck/syck.c +++ b/ext/syck/syck.c @@ -198,7 +198,8 @@ syck_lookup_sym( SyckParser *p, SYMID id, char **data ) int syck_st_free_nodes( char *key, SyckNode *n, char *arg ) { - syck_free_node( n ); + if ( n != (void *)1 ) syck_free_node( n ); + n = NULL; return ST_CONTINUE; } |