more complete fix to cut parser leaks
Merge pull request #4143 from davidlange6/fix_dqm_memory_leaks_p2

Fix dqm memory leaks p2