projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ddee99
)
Fix SOAP SRU encoding leak
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 14 Jan 2004 00:15:56 +0000
(
00:15
+0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 14 Jan 2004 00:15:56 +0000
(
00:15
+0000)
src/soap.c
patch
|
blob
|
history
diff --git
a/src/soap.c
b/src/soap.c
index
2d19101
..
5eb176f
100644
(file)
--- a/
src/soap.c
+++ b/
src/soap.c
@@
-2,7
+2,7
@@
* Copyright (c) 2002-2004, Index Data.
* See the file LICENSE for details.
*
- * $Id: soap.c,v 1.6 2004-01-07 21:02:42 adam Exp $
+ * $Id: soap.c,v 1.7 2004-01-14 00:15:56 adam Exp $
*/
#include <yaz/soap.h>
@@
-203,6
+203,8
@@
int z_soap_codec_enc_xsl(ODR o, Z_SOAP **pp,
if (p->which == Z_SOAP_generic && !strcmp(p->ns, "SRU"))
{
xmlDocSetRootElement(doc, body_ptr->children);
+ body_ptr->children = 0;
+ xmlFreeNode(envelope_ptr);
}
if (stylesheet)
{