Bugfix: Memory leak in deletion of er_stack nodes of ERFilter.
Merge pull request #2856 from sanchom:master