[sr-dev] git:master: core/parser: Free rr correctly in error cases