projects
/
platform
/
core
/
system
/
sensord.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rectifyng this poniter deletion from member function
[platform/core/system/sensord.git]
/
src
/
shared
/
channel_event_handler.cpp
diff --git
a/src/shared/channel_event_handler.cpp
b/src/shared/channel_event_handler.cpp
index
cc8a2bb
..
8a6b64b
100644
(file)
--- a/
src/shared/channel_event_handler.cpp
+++ b/
src/shared/channel_event_handler.cpp
@@
-46,13
+46,11
@@
bool channel_event_handler::handle(int fd, event_condition condition)
if (condition & (EVENT_HUP)) {
m_ch->disconnect();
- m_ch = NULL;
return false;
}
if (!m_ch->read_sync(msg, false)) {
m_ch->disconnect();
- m_ch = NULL;
return false;
}