summaryrefslogtreecommitdiff
path: root/ext/syck/syck.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/syck/syck.c')
-rw-r--r--ext/syck/syck.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/ext/syck/syck.c b/ext/syck/syck.c
index 5a15ab4947..33f9bf23e8 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 );