File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 9
9
* Dec 17, 1997 - Todd A. Brandys
10
10
* Orignal Version Completed.
11
11
*
12
- * $Id: crypt.c,v 1.17 1999/05/25 16:08:58 momjian Exp $
12
+ * $Id: crypt.c,v 1.18 1999/05/27 04:09:45 momjian Exp $
13
13
*
14
14
*-------------------------------------------------------------------------
15
15
*/
@@ -147,8 +147,8 @@ crypt_loadpwdfile()
147
147
{ /* free the old data only if this is a
148
148
* reload */
149
149
while (pwd_cache_count -- )
150
- pfree ((void * ) pwd_cache [pwd_cache_count ]);
151
- pfree ((void * ) pwd_cache );
150
+ free ((void * ) pwd_cache [pwd_cache_count ]);
151
+ free ((void * ) pwd_cache );
152
152
pwd_cache = NULL ;
153
153
pwd_cache_count = 0 ;
154
154
}
@@ -170,7 +170,7 @@ crypt_loadpwdfile()
170
170
buffer [result ] = '\0' ;
171
171
172
172
pwd_cache = (char * * ) realloc ((void * ) pwd_cache , sizeof (char * ) * (pwd_cache_count + 1 ));
173
- pwd_cache [pwd_cache_count ++ ] = pstrdup (buffer );
173
+ pwd_cache [pwd_cache_count ++ ] = strdup (buffer );
174
174
}
175
175
FreeFile (pwd_file );
176
176
You can’t perform that action at this time.
0 commit comments