[[ Bugfix 10774 ]] check memory allocations in MCFilter::filterlines
Merge branch 'bugfix-10774' into release-6.1.1