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

From Michael Meskes
Subject pgsql: ECPG: Free the malloc()'ed variables in the test so it comes out
Date
Msg-id E1VlLiu-0000xm-IR@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
ECPG: Free the malloc()'ed variables in the test so it comes out clean on
Valgrind runs.

Patch by Boszormenyi Zoltan <zb@cybertec.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(-)


pgsql-committers by date:

Previous
From: Michael Meskes
Date:
Subject: pgsql: ECPG: Add EXEC SQL CLOSE C to the tests.
Next
From: Michael Meskes
Date:
Subject: pgsql: ECPG: Make the preprocessor emit '; ' if the variable type for a