fixed memory leak upon missing a configuration

Happened when /etc/gridstorage.conf* were not present.