mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-05 19:09:58 +08:00
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:
parent
b67ad046e6
commit
693ff85d47
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user