pgsql: ECPG: Free the malloc()'ed variables in the test so it comes out

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: ECPG: Free the malloc()'ed variables in the test so it comes out
Date: 2013-11-26 16:42:52
Message-ID: E1VlLiu-0000xm-IR@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

ECPG: Free the malloc()'ed variables in the test so it comes out clean on
Valgrind runs.

Patch by Boszormenyi Zoltan <zb(at)cybertec(dot)at>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/db58e8ff7cec9a14418d6dccd33bbe186d10c1f4

Modified Files
--------------
src/interfaces/ecpg/test/expected/preproc-outofscope.c | 15 +++++++++------
.../ecpg/test/expected/preproc-outofscope.stderr | 8 ++++----
src/interfaces/ecpg/test/preproc/outofscope.pgc | 3 +++
3 files changed, 16 insertions(+), 10 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2013-11-26 21:06:40 pgsql: Oops, forgot to "git add" last minute changes to regression test
Previous Message Michael Meskes 2013-11-26 16:42:01 pgsql: ECPG: Make the preprocessor emit '; ' if the variable type for a