diff options
Diffstat (limited to 'ext/syck/syck.c')
-rw-r--r-- | ext/syck/syck.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ext/syck/syck.c b/ext/syck/syck.c index 5a15ab494..33f9bf23e 100644 --- a/ext/syck/syck.c +++ b/ext/syck/syck.c @@ -209,15 +209,6 @@ void syck_st_free( SyckParser *p ) { /* - * Free the adhoc symbol table - */ - if ( p->syms != NULL ) - { - st_free_table( p->syms ); - p->syms = NULL; - } - - /* * Free the anchor tables */ if ( p->anchors != NULL ) @@ -239,6 +230,15 @@ void syck_free_parser( SyckParser *p ) { /* + * Free the adhoc symbol table + */ + if ( p->syms != NULL ) + { + st_free_table( p->syms ); + p->syms = NULL; + } + + /* * Free tables, levels */ syck_st_free( p ); |