From b425748b60d87bd2649a88337afa5c95c63c1c25 Mon Sep 17 00:00:00 2001 From: gombasg Date: Wed, 5 Apr 2006 15:51:07 +0000 Subject: [PATCH] closedir() was missing git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@423 a7169a2c-3604-0410-bc95-c702d8d87f7a --- dcapi/boinc/client.C | 1 + 1 file changed, 1 insertion(+) diff --git a/dcapi/boinc/client.C b/dcapi/boinc/client.C index 0368835280..9a389ab507 100644 --- a/dcapi/boinc/client.C +++ b/dcapi/boinc/client.C @@ -56,6 +56,7 @@ int DC_getMaxSubresults(void) while ((d = readdir(dir))) if (!strncasecmp(d->d_name, SUBRESULT_PFX, strlen(SUBRESULT_PFX))) nsubs++; + closedir(dir); return nsubs; }