Commit 069edfe1 authored by Olivier Bertrand's avatar Olivier Bertrand

- Reset some variables when closing just in case the XML tre is re-used.

modified:
  storage/connect/libdoc.cpp
parent ce397d8c
......@@ -540,6 +540,7 @@ void LIBXMLDOC::CloseDoc(PGLOBAL g, PFBLOCK xp)
if ((Xerr = xmlGetLastError()))
xmlResetError(Xerr);
Nlist = NULL;
} // endif Nlist
if (Xop) {
......@@ -548,6 +549,7 @@ void LIBXMLDOC::CloseDoc(PGLOBAL g, PFBLOCK xp)
if ((Xerr = xmlGetLastError()))
xmlResetError(Xerr);
Xop = NULL;
} // endif Xop
if (NlXop) {
......@@ -556,6 +558,7 @@ void LIBXMLDOC::CloseDoc(PGLOBAL g, PFBLOCK xp)
if ((Xerr = xmlGetLastError()))
xmlResetError(Xerr);
NlXop = NULL;
} // endif NlXop
if (Ctxp) {
......@@ -564,6 +567,7 @@ void LIBXMLDOC::CloseDoc(PGLOBAL g, PFBLOCK xp)
if ((Xerr = xmlGetLastError()))
xmlResetError(Xerr);
Ctxp = NULL;
} // endif Ctxp
// } // endif Count
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment