directory was leaked. CID 1745

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38108 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2010-08-15 09:59:20 +00:00
parent 0f72bf29fe
commit 48a05691c4

View File

@ -252,6 +252,8 @@ AccelerantHWInterface::_OpenGraphicsDevice(int deviceNumber)
} }
} }
closedir(directory);
return device; return device;
} }