mirror of https://github.com/BOINC/boinc.git
fixed directory leak
svn path=/trunk/boinc/; revision=606
This commit is contained in:
parent
b8412f8254
commit
5dda076366
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue