Bug
198385
reports a memory leak in processing of forward actions. This
modification adapts the patch submitted with that bug (by Sreeram) to
fix the leak. While testing the modification, another leak was also
found and fixed.
Submitted by: Sreeram