Browse Source

Plug database connection leak.

Neal Wilson 11 years ago
parent
commit
17da088779
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      config/Reports/inventory.xml

+ 2
- 1
config/Reports/inventory.xml View File

174
                 output.writeTextElement("td", query.value(1));
174
                 output.writeTextElement("td", query.value(1));
175
                 output.writeTextElement("td", "");
175
                 output.writeTextElement("td", "");
176
                 output.writeTextElement("td", "");
176
                 output.writeTextElement("td", "");
177
-                output.writeEndElement();
177
+                query = query.invalidate();
178
+				output.writeEndElement();
178
                 output.writeEndElement();
179
                 output.writeEndElement();
179
                 output.writeEndElement();
180
                 output.writeEndElement();
180
                 output.writeEndElement();
181
                 output.writeEndElement();

Loading…
Cancel
Save