idaholab/moose — pull request #3721 by aeslaughter (2014-08-13 19:27:20+00:00)
Title: Fixed valgrind error

Let me sum up...

_console is an ConsoleStream object that calls OutputWarehouse::mooseConsole when flushed. In coupled problems a single OutputWarehouse is passed between the Apps.

So, the call to _console that existed in FEProblem was cached, then the warehouse was swapped. All other calls to _console go the the shared OutputWarehouse stream. Thus, the stream from the FEProblem message wasn't flushed until things were cleaning up. And, _console utilizes references to _time, etc. that where already deleted, so the references were borked.

Long story, short, add a std::endl;

(closes #3710)