Multi-row jobs
Fix memory leaks