summaryrefslogtreecommitdiff
path: root/ext/psych/yaml/api.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/psych/yaml/api.c')
-rw-r--r--ext/psych/yaml/api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/psych/yaml/api.c b/ext/psych/yaml/api.c
index 1b6edc9373..e0b9d979cc 100644
--- a/ext/psych/yaml/api.c
+++ b/ext/psych/yaml/api.c
@@ -395,7 +395,7 @@ yaml_emitter_delete(yaml_emitter_t *emitter)
}
QUEUE_DEL(emitter, emitter->events);
STACK_DEL(emitter, emitter->indents);
- while (!STACK_EMPTY(empty, emitter->tag_directives)) {
+ while (!STACK_EMPTY(emitter, emitter->tag_directives)) {
yaml_tag_directive_t tag_directive = POP(emitter, emitter->tag_directives);
yaml_free(tag_directive.handle);
yaml_free(tag_directive.prefix);