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,7 +174,8 @@
174 174
                 output.writeTextElement("td", query.value(1));
175 175
                 output.writeTextElement("td", "");
176 176
                 output.writeTextElement("td", "");
177
-                output.writeEndElement();
177
+                query = query.invalidate();
178
+				output.writeEndElement();
178 179
                 output.writeEndElement();
179 180
                 output.writeEndElement();
180 181
                 output.writeEndElement();

Loading…
Cancel
Save