Commit d488bfe8 d488bfe8382aad85769014a2752192b110a34f0a by Sergey Poznyakoff

(destroy): Bugfix: do not free pgconn

1 parent 26fde04f
...@@ -58,7 +58,6 @@ static int ...@@ -58,7 +58,6 @@ static int
58 destroy (mu_sql_connection_t conn) 58 destroy (mu_sql_connection_t conn)
59 { 59 {
60 struct mu_pgsql_data *dp = conn->data; 60 struct mu_pgsql_data *dp = conn->data;
61 free (dp->pgconn);
62 free (dp); 61 free (dp);
63 conn->data = NULL; 62 conn->data = NULL;
64 return 0; 63 return 0;
......