We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent faacdab commit f38c3e7Copy full SHA for f38c3e7
src/backend/storage/file/fd.c
@@ -7,7 +7,7 @@
7
* Portions Copyright (c) 1994, Regents of the University of California
8
*
9
* IDENTIFICATION
10
- * $PostgreSQL: pgsql/src/backend/storage/file/fd.c,v 1.123 2005/12/01 20:24:18 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/storage/file/fd.c,v 1.124 2005/12/08 15:38:29 tgl Exp $
11
12
* NOTES:
13
@@ -1405,7 +1405,7 @@ AllocateDir(const char *dirname)
1405
* dir = AllocateDir(path);
1406
* while ((dirent = ReadDir(dir, path)) != NULL)
1407
* process dirent;
1408
- * FreeDir(path);
+ * FreeDir(dir);
1409
1410
* since a NULL dir parameter is taken as indicating AllocateDir failed.
1411
* (Make sure errno hasn't been changed since AllocateDir if you use this
0 commit comments