Commit 693ff85d authored by Peter Eisentraut's avatar Peter Eisentraut

backend: Fix minor memory leak in configuration file processing

Just for consistency with the other code paths.

found by Coverity
parent b67ad046
...@@ -4095,6 +4095,7 @@ SelectConfigFiles(const char *userDoption, const char *progname) ...@@ -4095,6 +4095,7 @@ SelectConfigFiles(const char *userDoption, const char *progname)
{ {
write_stderr("%s cannot access the server configuration file \"%s\": %s\n", write_stderr("%s cannot access the server configuration file \"%s\": %s\n",
progname, ConfigFileName, strerror(errno)); progname, ConfigFileName, strerror(errno));
free(configdir);
return false; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment