From: Lars Op den Kamp Date: Tue, 10 Jan 2012 10:55:40 +0000 (+0100) Subject: cec: unload libCEC when the lib version is invalid X-Git-Tag: upstream/2.2.0~1^2~41^2~16 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=863c4e5740face8308279a49a3fcc62f25c716cb;p=deb_libcec.git cec: unload libCEC when the lib version is invalid --- 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; }