fixed directory leak

svn path=/trunk/boinc/; revision=606
This commit is contained in:
Seth Cooper 2002-11-13 05:15:31 +00:00
parent b8412f8254
commit 5dda076366
1 changed files with 1 additions and 0 deletions

View File

@ -150,6 +150,7 @@ void dir_close(DIRREF dirp) {
FindClose(dirp->handle); FindClose(dirp->handle);
dirp->handle = INVALID_HANDLE_VALUE; dirp->handle = INVALID_HANDLE_VALUE;
} }
free(dirp);
#endif #endif
#ifdef macintosh #ifdef macintosh
SayErr("\pdir_close called (empty function)"); /* CAF Temp */ SayErr("\pdir_close called (empty function)"); /* CAF Temp */