Hi I noticed that in the code, the variables `q_role` and `q_dbname` are processed with the `PQescapeLiteral` function, so `PQfreemem` ?C instead of `pfree` ?C should be used here to free the memory.
-- Regards, Man Zeng www.openhalo.org
Hi I noticed that in the code, the variables `q_role` and `q_dbname` are processed with the `PQescapeLiteral` function, so `PQfreemem` ?C instead of `pfree` ?C should be used here to free the memory.
-- Regards, Man Zeng www.openhalo.org