Fix memory leak in Smart Search CLI (routing)
Merge pull request #1919 from mahagr/master

Fix memory leak in Smart Search CLI (routing)