summaryrefslogtreecommitdiff
path: root/storage/connect/tabxml.cpp
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2013-07-05 13:13:45 +0200
committerOlivier Bertrand <bertrandop@gmail.com>2013-07-05 13:13:45 +0200
commitce1b9cb4ba8917af1f2d16b20ab69a46af8fc5e4 (patch)
treefcbb4d723d8bd3b4f343712266c278b0149f87c1 /storage/connect/tabxml.cpp
parent923eddcfe12d015c43ee6422f32e000aadc714b8 (diff)
downloadmariadb-git-ce1b9cb4ba8917af1f2d16b20ab69a46af8fc5e4.tar.gz
- Try to fix a uninitialised valgrind warning
modified: storage/connect/ha_connect.cc storage/connect/ha_connect.h storage/connect/mycat.cc - Fix a regression error on XML libdoc wrong Nlist freing modified: storage/connect/domdoc.h storage/connect/libdoc.cpp storage/connect/libdoc.h storage/connect/plgxml.h storage/connect/tabxml.cpp
Diffstat (limited to 'storage/connect/tabxml.cpp')
-rw-r--r--storage/connect/tabxml.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/connect/tabxml.cpp b/storage/connect/tabxml.cpp
index 9b8db7abbab..69ad6711638 100644
--- a/storage/connect/tabxml.cpp
+++ b/storage/connect/tabxml.cpp
@@ -547,6 +547,7 @@ bool TDBXML::Initialize(PGLOBAL g)
else
Nlist = TabNode->GetChildElements(g);
+ Docp->SetNofree(true); // For libxml2
#if defined(WIN32)
} catch(_com_error e) {
// We come here if a DOM command threw an error