Fix memory leak when doing a deep locate.
Update notes on memory lek issue.