summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistutil.c
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2005-06-30 01:59:20 +0000
committerNeil Conway <neilc@samurai.com>2005-06-30 01:59:20 +0000
commit4714984149a2eac08c6766a068569d0d27f027ec (patch)
tree44a0ae38736d6cd347cbae63a715736e3e54d24f /src/backend/access/gist/gistutil.c
parent401de9c8bef9c77dd25ba6c111094bba14d470d8 (diff)
downloadpostgresql-4714984149a2eac08c6766a068569d0d27f027ec.tar.gz
Fix a theoretical memory leak in pg_password_sendauth(). If the first
malloc() succeeded but the second failed, the buffer allocated by the first malloc() would be leaked. Fix this by allocating both buffers via a single malloc(), as suggested by Tom. Per Coverity static analysis performed by EnterpriseDB.
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions