aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/postgres.sml
diff options
context:
space:
mode:
Diffstat (limited to 'src/postgres.sml')
-rw-r--r--src/postgres.sml6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/postgres.sml b/src/postgres.sml
index 59fa3330..a3f33db1 100644
--- a/src/postgres.sml
+++ b/src/postgres.sml
@@ -411,6 +411,8 @@ fun init {dbstring, prepared = ss, tables, views, sequences} =
newline],
string "}",
newline,
+ string "PQclear(res);",
+ newline,
string "return 0;",
newline,
string "}",
@@ -434,6 +436,8 @@ fun init {dbstring, prepared = ss, tables, views, sequences} =
newline],
string "}",
newline,
+ string "PQclear(res);",
+ newline,
string "return 0;",
newline,
string "}",
@@ -457,6 +461,8 @@ fun init {dbstring, prepared = ss, tables, views, sequences} =
newline],
string "}",
newline,
+ string "PQclear(res);",
+ newline,
string "return 0;",
newline,
string "}",