Browse Source

Plug database connection leak.

Neal Wilson 11 years ago
parent
commit
678bccb062
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      config/Reports/rwacp.xml

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

@@ -114,7 +114,8 @@
114 114
 				query.exec();
115 115
 				query.next();
116 116
                 output.writeTextElement("td", query.value(0));
117
-                output.writeEndElement();
117
+                query = query.invalidate();
118
+				output.writeEndElement();
118 119
                 output.writeEndElement();
119 120
                 output.writeEndElement();
120 121
                 output.writeEndElement();

Loading…
Cancel
Save