Skip to content

Commit 693ff85

Browse files
committed
backend: Fix minor memory leak in configuration file processing
Just for consistency with the other code paths. found by Coverity
1 parent b67ad04 commit 693ff85

File tree

1 file changed

+1
-0
lines changed
  • src/backend/utils/misc

1 file changed

+1
-0
lines changed

src/backend/utils/misc/guc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4095,6 +4095,7 @@ SelectConfigFiles(const char *userDoption, const char *progname)
40954095
{
40964096
write_stderr("%s cannot access the server configuration file \"%s\": %s\n",
40974097
progname, ConfigFileName, strerror(errno));
4098+
free(configdir);
40984099
return false;
40994100
}
41004101

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy