Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f38c3e7

Browse files
committed
Fix thinko in comment.
1 parent faacdab commit f38c3e7

File tree

1 file changed

+2
-2
lines changed
  • src/backend/storage/file

1 file changed

+2
-2
lines changed

src/backend/storage/file/fd.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
99
* IDENTIFICATION
10-
* $PostgreSQL: pgsql/src/backend/storage/file/fd.c,v 1.123 2005/12/01 20:24:18 tgl Exp $
10+
* $PostgreSQL: pgsql/src/backend/storage/file/fd.c,v 1.124 2005/12/08 15:38:29 tgl Exp $
1111
*
1212
* NOTES:
1313
*
@@ -1405,7 +1405,7 @@ AllocateDir(const char *dirname)
14051405
* dir = AllocateDir(path);
14061406
* while ((dirent = ReadDir(dir, path)) != NULL)
14071407
* process dirent;
1408-
* FreeDir(path);
1408+
* FreeDir(dir);
14091409
*
14101410
* since a NULL dir parameter is taken as indicating AllocateDir failed.
14111411
* (Make sure errno hasn't been changed since AllocateDir if you use this

0 commit comments

Comments
 (0)