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:
e9de962
)
cec: fixed crash on exit after the last commit.
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Wed, 26 Oct 2011 23:02:38 +0000
(
01:02
+0200)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Wed, 26 Oct 2011 23:02:38 +0000
(
01:02
+0200)
src/lib/CECProcessor.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/CECProcessor.cpp
b/src/lib/CECProcessor.cpp
index eae4c3cfa7b3b2e92eeae6d3623feaed19c43b39..e9caaf0835ba0cec3a4e83e72fb410541f825f35 100644
(file)
--- a/
src/lib/CECProcessor.cpp
+++ b/
src/lib/CECProcessor.cpp
@@
-58,7
+58,8
@@
CCECProcessor::~CCECProcessor(void)
StopThread();
m_communication = NULL;
m_controller = NULL;
- delete[] m_busDevices;
+ for (unsigned int iPtr = 0; iPtr < 16; iPtr++)
+ delete m_busDevices[iPtr];
}
bool CCECProcessor::Start(void)