(destroy): Bugfix: do not free pgconn
Showing
1 changed file
with
0 additions
and
1 deletions
... | @@ -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; | ... | ... |
-
Please register or sign in to post a comment