projects
/
platform
/
core
/
system
/
sensord.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e4072cf
)
Fix for ASAN Issue TDAF-710: alloc-dealloc mismatch
44/186544/2
author
srinivasa.m
<srinivasa.m@samsung.com>
Fri, 10 Aug 2018 07:15:03 +0000
(12:45 +0530)
committer
randeep singh
<randeep.s@samsung.com>
Mon, 13 Aug 2018 08:35:58 +0000
(08:35 +0000)
Change-Id: I7e674bbf76cac80fcae0396ae4a4a8df1c44d034
src/shared/message.cpp
patch
|
blob
|
history
diff --git
a/src/shared/message.cpp
b/src/shared/message.cpp
index
6bffc8c
..
489ebac
100644
(file)
--- a/
src/shared/message.cpp
+++ b/
src/shared/message.cpp
@@
-147,7
+147,7
@@
void message::unref(void)
if (ref_cnt > 0 || !m_msg)
return;
if (ref_cnt > 0 || !m_msg)
return;
-
free(m_msg)
;
+
delete [] m_msg
;
m_msg = NULL;
delete this;
}
m_msg = NULL;
delete this;
}