Skip to content

Commit

Permalink
Temporarily comment out free calls in msConnPoolClose causing heap er…
Browse files Browse the repository at this point in the history
…rors
  • Loading branch information
geographika committed Jul 11, 2024
1 parent 9a22070 commit d8df38c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/mappool.c
Original file line number Diff line number Diff line change
Expand Up @@ -286,11 +286,11 @@ static void msConnPoolClose(int conn_index)
if (conn->debug)
msDebug("msConnPoolClose(%s,%p)\n", conn->connection, conn->conn_handle);

if (conn->close != NULL)
conn->close(conn->conn_handle);
//if (conn->close != NULL)
// conn->close(conn->conn_handle);

/* free malloced() stuff in this connection */
free(conn->connection);
// free(conn->connection);

connectionCount--;
if (connectionCount == 0) {
Expand Down

0 comments on commit d8df38c

Please sign in to comment.