pgsql: Fix small memory leak in ecpglib ecpg_update_declare_statement()

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix small memory leak in ecpglib ecpg_update_declare_statement()
Date: 2019-07-03 01:17:23
Message-ID: E1hiTtj-0006em-Tj@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix small memory leak in ecpglib ecpg_update_declare_statement() is called the
second time.

Author: "Zhang, Jie" <zhangjie2(at)cn(dot)fujitsu(dot)com>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e72489e101b21c328e3d10ca64e5367c60f424a5

Modified Files
--------------
src/interfaces/ecpg/ecpglib/prepare.c | 4 ++++
1 file changed, 4 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Etsuro Fujita 2019-07-03 08:56:51 pgsql: postgres_fdw: Remove redundancy in postgresAcquireSampleRowsFunc
Previous Message Michael Paquier 2019-07-02 23:59:46 pgsql: Add support for Visual Studio 2019 in build scripts