Merge pull request #2621 from kgaillot/fixes
Fix: scheduler: avoid memory leak when displaying clones