Fixed memory leak

(refs #3517)

This un-covers a larger issue:  #3542