Commit 7233890d8540a908c480949878fa482f9c9ce6b7

Con Kolivas 2012-04-29T10:03:01

Protect the freeing of current_hash under mutex_lock to prevent racing on it when set_curblock is hit concurrently.