Skip to content
Snippets Groups Projects
Commit 6b75942c authored by Bruce Momjian's avatar Bruce Momjian
Browse files

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
parent 3bdadd04
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment