Fix memory leak when an empty ident file is reloaded.

Hari Babu