Fixed valgrind error, flush it
(closes #3710)
Merge pull request #3721 from aeslaughter/valgrind-3710

Fixed valgrind error
Merge commit '02bddbe8b3f9e58ea746d17a717018dfd70224e3'