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:
42c0256
)
cec: fixed segfault on exit when calling cec-client -l
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Thu, 8 Dec 2011 18:30:06 +0000
(19:30 +0100)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Thu, 8 Dec 2011 18:30:06 +0000
(19:30 +0100)
src/testclient/main.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/testclient/main.cpp
b/src/testclient/main.cpp
index f27fda9077e18276def1a6ac1bf729b9fc0808e8..fb5c7c0ca7b1e87e70ed387366e3fc331a72673a 100644
(file)
--- a/
src/testclient/main.cpp
+++ b/
src/testclient/main.cpp
@@
-795,7
+795,7
@@
bool ProcessCommandLineArguments(int argc, char *argv[])
{
bool bReturn(true);
int iArgPtr = 1;
- while (iArgPtr < argc)
+ while (iArgPtr < argc
&& bReturn
)
{
if (argc >= iArgPtr + 1)
{
@@
-885,6
+885,7
@@
bool ProcessCommandLineArguments(int argc, char *argv[])
{
ListDevices(parser);
UnloadLibCec(parser);
+ parser = NULL;
}
bReturn = false;
}