diff options
Diffstat (limited to 'ext/psych')
-rw-r--r-- | ext/psych/parser.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/psych/parser.c b/ext/psych/parser.c index 8e7df9520b..e68768f562 100644 --- a/ext/psych/parser.c +++ b/ext/psych/parser.c @@ -304,6 +304,7 @@ static VALUE parse(VALUE self, VALUE yaml) done = 1; break; } + yaml_event_delete(&event); } return self; |