projects
/
platform
/
upstream
/
xmlsec1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37ef959
)
Fix memory leak on xmlSecProxyCtxAdd
14/98414/1
author
sangwan.kwon
<sangwan.kwon@samsung.com>
Thu, 17 Nov 2016 07:40:00 +0000
(16:40 +0900)
committer
sangwan.kwon
<sangwan.kwon@samsung.com>
Thu, 17 Nov 2016 07:40:00 +0000
(16:40 +0900)
Change-Id: I5ad57b688700be114296a0c6a959158eb03c4570
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
src/xmldsig.c
patch
|
blob
|
history
diff --git
a/src/xmldsig.c
b/src/xmldsig.c
index
658ff65
..
299ea57
100644
(file)
--- a/
src/xmldsig.c
+++ b/
src/xmldsig.c
@@
-242,6
+242,7
@@
xmlSecProxyCtxAdd(xmlSecProxyCtxPtr* proxyCtxPtrPtr, const xmlChar* uri) {
XMLSEC_ERRORS_R_MALLOC_FAILED,
"node=%s",
xmlSecErrorsSafeString(uri));
+ xmlFree(pc);
return(-1);
}
pc->next = NULL;