mirror of https://github.com/BOINC/boinc.git
- client: fix a handle leak I just introduced.
(From: Andreas a.k.a Gipsel) lib/ coproc.cpp svn path=/trunk/boinc/; revision=19226
This commit is contained in:
parent
2c9f5ed224
commit
2b6f430094
|
@ -8288,3 +8288,10 @@ Rom 1 Oct 2009
|
|||
|
||||
lib/
|
||||
coproc.cpp
|
||||
|
||||
Rom 1 Oct 2009
|
||||
- client: fix a handle leak I just introduced.
|
||||
(From: Andreas a.k.a Gipsel)
|
||||
|
||||
lib/
|
||||
coproc.cpp
|
||||
|
|
|
@ -709,8 +709,10 @@ void COPROC_ATI::get(COPROCS& coprocs,
|
|||
}
|
||||
|
||||
HINSTANCE amdlib = LoadLibrary(amdlib_name);
|
||||
if (!atirt_detected && amdlib) {
|
||||
amdrt_detected = true;
|
||||
if (amdlib) {
|
||||
if (!atirt_detected) {
|
||||
amdrt_detected = true;
|
||||
}
|
||||
FreeLibrary(amdlib);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue