From 863c4e5740face8308279a49a3fcc62f25c716cb Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Tue, 10 Jan 2012 11:55:40 +0100 Subject: [PATCH] cec: unload libCEC when the lib version is invalid --- src/testclient/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/testclient/main.cpp b/src/testclient/main.cpp index 953b6b1..092a83a 100644 --- a/src/testclient/main.cpp +++ b/src/testclient/main.cpp @@ -972,6 +972,10 @@ int main (int argc, char *argv[]) #else cout << "Cannot load libcec.so" << endl; #endif + + if (parser) + UnloadLibCec(parser); + return 1; } -- 2.34.1