pgsql/src/interfaces/ecpg/lib (execute.c)

Поиск
Список
Период
Сортировка
От momjian@postgresql.org
Тема pgsql/src/interfaces/ecpg/lib (execute.c)
Дата
Msg-id 200101022203.f02M32k42998@hub.org
обсуждение исходный текст
Список pgsql-committers
  Date: Tuesday, January  2, 2001 @ 17:03:02
Author: momjian

Update of /home/projects/pgsql/cvsroot/pgsql/src/interfaces/ecpg/lib
     from hub.org:/home/projects/pgsql/tmp/cvs-serv42982/pgsql/src/interfaces/ecpg/lib

Modified Files:
    execute.c

-----------------------------  Log Message  -----------------------------

I've found a memory leak in libecpg of PostgreSQL 7.0.3.
The leak is caused by the memory allocation in
src/interfaces/ecpg/lib/execute.c in line 669 which is never freed.
Adding a "free(array_query);" after PQexec in line 671 seems to fix the
leak.

Thorsten Knabe


В списке pgsql-committers по дате отправления:

Предыдущее
От: Ian Lance Taylor
Дата:
Сообщение: Re: [HACKERS] Re: pgsql/src (Makefile.global.in)
Следующее
От: petere@postgresql.org
Дата:
Сообщение: pgsql (configure configure.in)