projects
/
platform
/
upstream
/
iotivity.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a12c7ce
)
CONPRO-1475: memleak fix
15/212715/1
author
Oleksii Beketov
<ol.beketov@samsung.com>
Tue, 13 Aug 2019 09:52:27 +0000
(12:52 +0300)
committer
Sudipto
<sudipto.bal@samsung.com>
Mon, 26 Aug 2019 07:06:28 +0000
(12:36 +0530)
Fixed memleak in doxmresource.c
https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/commit/
b8379bcdab3842962e3708f15902753f9e653576
(cherry-picked from
b8379bcdab3842962e3708f15902753f9e653576
)
Change-Id: I31544579f61eb309d19bc0e7e324472a5b0d4355
Signed-off-by: Oleksii Beketov <ol.beketov@samsung.com>
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
resource/csdk/security/src/doxmresource.c
patch
|
blob
|
history
diff --git
a/resource/csdk/security/src/doxmresource.c
b/resource/csdk/security/src/doxmresource.c
index
e88a381
..
a2248e4
100644
(file)
--- a/
resource/csdk/security/src/doxmresource.c
+++ b/
resource/csdk/security/src/doxmresource.c
@@
-1142,14
+1142,12
@@
void * WaitConfirm(OCEntityHandlerRequest * ehRequest)
gConfirmState = CONFIRM_STATE_ACCEPTED;
HandleDoxmPostRequest(ehRequest);
g_isConfirmResult = false;
- return NULL;
}
else
{
gConfirmState = CONFIRM_STATE_DENIED;
HandleDoxmPostRequest(ehRequest);
g_isConfirmResult = false;
- return NULL;
}
DestroyEntityHandlerRequest(ehRequest);