From 5dda07636678c9a06aa7e7ceaa98a01d7175461f Mon Sep 17 00:00:00 2001 From: Seth Cooper Date: Wed, 13 Nov 2002 05:15:31 +0000 Subject: [PATCH] fixed directory leak svn path=/trunk/boinc/; revision=606 --- lib/filesys.C | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/filesys.C b/lib/filesys.C index f13b0ada13..092b424dbf 100755 --- a/lib/filesys.C +++ b/lib/filesys.C @@ -150,6 +150,7 @@ void dir_close(DIRREF dirp) { FindClose(dirp->handle); dirp->handle = INVALID_HANDLE_VALUE; } + free(dirp); #endif #ifdef macintosh SayErr("\pdir_close called (empty function)"); /* CAF Temp */