diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/syck/node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/syck/node.c b/ext/syck/node.c index 890eba9d58..fb98f655cc 100644 --- a/ext/syck/node.c +++ b/ext/syck/node.c @@ -128,7 +128,7 @@ syck_replace_str( SyckNode *n, char *str, enum scalar_style style ) void syck_replace_str2( SyckNode *n, char *str, long len, enum scalar_style style ) { - if ( n->data.str != NULL ) + if ( n->data.str->ptr != NULL ) { S_FREE( n->data.str->ptr ); n->data.str->ptr = NULL; |