Skip to content

Commit

Permalink
Merge pull request #17 from mjtko/a589cb7a503c7e3761ab4dff0ed10597bef…
Browse files Browse the repository at this point in the history
…fdd05

Fixes a memory leak in Psych parser
  • Loading branch information
tenderlove committed Jun 6, 2011
2 parents 7880a4b + a589cb7 commit e70609a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/psych/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ static VALUE parse(VALUE self, VALUE yaml)
done = 1;
break;
}
yaml_event_delete(&event);
}

return self;
Expand Down

0 comments on commit e70609a

Please sign in to comment.