Free memory in clusterLoadConfig error handler

Closes #1327