Improved memory management in recorder.
Authored by: brunoherbelin 2016-01-03
Parent: [r1100]
Child: [r1102]