repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: safe deletes for members
[deb_libcec.git]
/
src
/
lib
/
implementations
/
CECCommandHandler.cpp
diff --git
a/src/lib/implementations/CECCommandHandler.cpp
b/src/lib/implementations/CECCommandHandler.cpp
index 40d7ec37425a26ded517d2c96f3829c2a62ccb8b..376cfc42bfb5a5d6b21a18e617908b212a8c6e46 100644
(file)
--- a/
src/lib/implementations/CECCommandHandler.cpp
+++ b/
src/lib/implementations/CECCommandHandler.cpp
@@
-37,6
+37,7
@@
#include "../CECClient.h"
#include "../CECProcessor.h"
#include "../LibCEC.h"
#include "../CECClient.h"
#include "../CECProcessor.h"
#include "../LibCEC.h"
+#include "../platform/util/util.h"
using namespace CEC;
using namespace std;
using namespace CEC;
using namespace std;
@@
-60,7
+61,7
@@
CCECCommandHandler::CCECCommandHandler(CCECBusDevice *busDevice) :
CCECCommandHandler::~CCECCommandHandler(void)
{
CCECCommandHandler::~CCECCommandHandler(void)
{
-
delete m_waitForResponse
;
+
DELETE_AND_NULL(m_waitForResponse)
;
}
bool CCECCommandHandler::HandleCommand(const cec_command &command)
}
bool CCECCommandHandler::HandleCommand(const cec_command &command)