We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e797d2 commit c5f4b98Copy full SHA for c5f4b98
src/backend/utils/adt/xml.c
@@ -7,7 +7,7 @@
7
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
8
* Portions Copyright (c) 1994, Regents of the University of California
9
*
10
- * $PostgreSQL: pgsql/src/backend/utils/adt/xml.c,v 1.74 2008/05/12 00:00:51 alvherre Exp $
+ * $PostgreSQL: pgsql/src/backend/utils/adt/xml.c,v 1.75 2008/07/03 00:04:24 tgl Exp $
11
12
*-------------------------------------------------------------------------
13
*/
@@ -3160,6 +3160,7 @@ xml_xmlnodetoxmltype(xmlNodePtr cur)
3160
{
3161
str = xmlXPathCastNodeToString(cur);
3162
result = (xmltype *) cstring_to_text((char *) str);
3163
+ xmlFree(str);
3164
}
3165
3166
return result;
0 commit comments