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
 				query.exec();
114
 				query.exec();
115
 				query.next();
115
 				query.next();
116
                 output.writeTextElement("td", query.value(0));
116
                 output.writeTextElement("td", query.value(0));
117
-                output.writeEndElement();
117
+                query = query.invalidate();
118
+				output.writeEndElement();
118
                 output.writeEndElement();
119
                 output.writeEndElement();
119
                 output.writeEndElement();
120
                 output.writeEndElement();
120
                 output.writeEndElement();
121
                 output.writeEndElement();

Loading…
Cancel
Save