repositories
/
deb_libcec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2198e5
)
cec: just dlclose()/FreeLibrary() after starting the bootloader
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Mon, 27 Feb 2012 22:35:00 +0000
(23:35 +0100)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Mon, 27 Feb 2012 22:35:00 +0000
(23:35 +0100)
include/cecloader.h
patch
|
blob
|
blame
|
history
diff --git
a/include/cecloader.h
b/include/cecloader.h
index 1b0be87cad7e9995538c83f1c984bfca2e97f6f1..5d4361d6199034c31b24732f52fe01c7fa137a8c 100644
(file)
--- a/
include/cecloader.h
+++ b/
include/cecloader.h
@@
-134,7
+134,8
@@
bool LibCecBootloader(const char *strLib = NULL)
return false;
bool bReturn = LibCecBootloader();
- UnloadLibCec(static_cast< CEC::ICECAdapter* > g_libCEC);
+ FreeLibrary(g_libCEC);
+ g_libCEC = NULL;
return bReturn;
}
@@
-267,7
+268,7
@@
bool LibCecBootloader(const char *strLib = NULL)
}
bool bReturn = LibCecBootloader();
-
UnloadLibCec((CEC::ICECAdapter*)
g_libCEC);
+
dlclose(
g_libCEC);
return bReturn;
}