1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-19 23:22:23 +03:00

- Fixed memory leak in ecpglib by adding some missing free() commands.

- Added patch by Gavin Scott <gavin@planetacetech.com> for Intel 64bit hardware.
This commit is contained in:
Michael Meskes
2005-06-02 12:35:11 +00:00
parent 21fda22ec4
commit 2d5d691d15
4 changed files with 14 additions and 10 deletions

View File

@@ -125,7 +125,7 @@ PGresult **ECPGdescriptor_lvalue(int line, const char *descriptor);
bool ECPGstore_result(const PGresult *results, int act_field,
const struct statement * stmt, struct variable * var);
bool ECPGstore_input(const int, const bool, const struct variable *, const char **, bool *);
#if defined(__GNUC__) && (defined (__powerpc__) || defined(__AMD64__))
#if defined(__GNUC__) && (defined (__powerpc__) || defined(__AMD64__) || defined(__x86_64__))
// work around a gcc/ABI bug with va_lists on ppc+amd64
void ECPGget_variable(va_list, enum ECPGttype, struct variable *, bool);
#else