* Fix memory leak in wait command.
Merge remote-tracking branch 'cvs/branch-2_6' into branch-2_6