diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 1999-05-09 00:54:30 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 1999-05-09 00:54:30 +0000 |
commit | b5bcef683b2ee457ccec41bcf9bd8bb91531375e (patch) | |
tree | 3b02fec606e3ed38335f349888b5b2bca278c89e /src/backend/libpq/crypt.c | |
parent | 71d5d95376fb9b675a191c128e6c5e5ff3940f78 (diff) |
Fix some miscellaneous places that were using raw open() or
fopen(), instead of going through fd.c ... naughty naughty.
Diffstat (limited to 'src/backend/libpq/crypt.c')
-rw-r--r-- | src/backend/libpq/crypt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/libpq/crypt.c b/src/backend/libpq/crypt.c index d3326eb2e65..ac8b3733876 100644 --- a/src/backend/libpq/crypt.c +++ b/src/backend/libpq/crypt.c @@ -9,7 +9,7 @@ * Dec 17, 1997 - Todd A. Brandys * Orignal Version Completed. * - * $Id: crypt.c,v 1.15 1999/02/13 23:15:42 momjian Exp $ + * $Id: crypt.c,v 1.16 1999/05/09 00:54:30 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -174,7 +174,7 @@ crypt_loadpwdfile() pwd_cache = (char **) realloc((void *) pwd_cache, sizeof(char *) * (pwd_cache_count + 1)); pwd_cache[pwd_cache_count++] = pstrdup(buffer); } - fclose(pwd_file); + FreeFile(pwd_file); /* * Now sort the entries in the cache for faster searching later. |