This is an automated email from the ASF dual-hosted git repository. yjhjstz pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/cloudberry.git
commit 50f26d471a4c700cbe2cc98929b7d70dd81a41fd Author: dreamedcheng <[email protected]> AuthorDate: Tue Jan 30 10:28:49 2024 +0800 Fix FTS PROBE process memory leak. Note that f86af5ecf12d522568a1a1fa255ec714e4affe51 introduces `gpconntype` in `pg_conn`, but this field won't be freed in `freePGconn`. --- src/interfaces/libpq/fe-connect.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c index 08dbc94048..7f3dfd462a 100644 --- a/src/interfaces/libpq/fe-connect.c +++ b/src/interfaces/libpq/fe-connect.c @@ -4261,6 +4261,8 @@ freePGconn(PGconn *conn) #endif if (conn->gsslib) free(conn->gsslib); + if (conn->gpconntype) + free(conn->gpconntype); if (conn->connip) free(conn->connip); #ifdef ENABLE_GSS --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
