SERVER-13715 fix use of auto_ptr after release in subplan runner
Merge remote-tracking branch 'upstream/master'