fix potential core dump
Merge branch 'master' of git@github.com:gigablast/open-source-search-engine