[[ Bugfix 10774 ]] check memory allocations in MCFilter::filterlines