In id:87vcc2q5n2.fsf at nikula.org, Jani points out a memory leak in the new restore code. This series is a proposed fix, namely do any allocation on a temporary talloc context that is destroyed after each line is processed.