backend: Fix minor memory leak in configuration file processing

Just for consistency with the other code paths.

found by Coverity
This commit is contained in:
Peter Eisentraut 2012-03-16 19:51:43 +02:00
parent b67ad046e6
commit 693ff85d47

View File

@ -4095,6 +4095,7 @@ SelectConfigFiles(const char *userDoption, const char *progname)
{
write_stderr("%s cannot access the server configuration file \"%s\": %s\n",
progname, ConfigFileName, strerror(errno));
free(configdir);
return false;
}