mozilla/rust — pull request #14787 by alexcrichton (2014-06-10 03:59:47+00:00)
Title: rustrt: Fix invalid reads caught by valgrind

This is another case of #13246. The RAII lock wasn't being destroyed until after
the allocation was free'd due to destructor scheduling.

Closes #14784