[pgpool-committers: 1371] pgpool: Fix memory leak when do_query() fails in timestamp rewriting.

Tatsuo Ishii ishii at postgresql.org
Sun Nov 3 22:15:13 JST 2013


Fix memory leak when do_query() fails in timestamp rewriting.

For this purpose free_select_result() is changed to accept NULL
argument.  Per Coverity report "1111454, 1111455 Resource leak".

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=cf095115ec32bdc8991452868c9f491d7e41cace

Modified Files
--------------
src/protocol/pool_process_query.c |    3 +++
src/rewrite/pool_timestamp.c      |    2 ++
2 files changed, 5 insertions(+)



More information about the pgpool-committers mailing list