* fhandler_proc.cc (fhandler_proc::closedir): Don't free, but delete

instead.

	Also fix previous ChangeLog entry.
This commit is contained in:
Corinna Vinschen
2011-08-12 12:35:37 +00:00
parent 1f08558f14
commit ad39174691
2 changed files with 11 additions and 3 deletions

View File

@@ -236,7 +236,7 @@ fhandler_proc::opendir (int fd)
int
fhandler_proc::closedir (DIR *dir)
{
free (dir->__handle);
delete (winpids *) dir->__handle;
return fhandler_virtual::closedir (dir);
}