issue #688 memory leak of location stats calculation fixed
Merge branch '688' into hotfixes