Merge branch 'PHP-8.1' into PHP-8.2

This commit is contained in:
David Carlier 2023-06-18 13:45:30 +01:00
commit bc45b34b30
3 changed files with 24 additions and 0 deletions

View file

@ -175,6 +175,7 @@ static void pgsql_link_free(pgsql_link_handle *link)
PQclear(res);
}
if (!link->persistent) {
PQuntrace(link->conn);
PQfinish(link->conn);
}
PGG(num_links)--;