CVS: winex/files dos_fs.c,1.41,1.42
[email protected] 12 Sep 2007 14:08:22 -0000
| Newsgroups | gmane.comp.emulators.winex.cvs |
|---|---|
| Message-ID | <[email protected]> |
Subject: winex/files dos_fs.c,1.41,1.42Update of /var/lib/cvsd/cvsroot/winex/files
In directory agravaine:/tmp/cvs-serv19215/files
Modified Files:
dos_fs.c
Log Message:
Zero out the path member when freeing it.
Index: dos_fs.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/files/dos_fs.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- dos_fs.c 29 Aug 2007 11:55:57 -0000 1.41
+++ dos_fs.c 12 Sep 2007 14:08:20 -0000 1.42
@@ -2096,7 +2096,10 @@
if (info->dir)
DOSFS_CloseDir (info->dir);
#endif
- if (info->path) HeapFree( GetProcessHeap(), 0, info->path );
+ if (info->path) {
+ HeapFree( GetProcessHeap(), 0, info->path );
+ info->path = NULL;
+ }
}
__EXCEPT(page_fault)
{