diff options
author | Neil Conway <neilc@samurai.com> | 2005-06-30 01:59:20 +0000 |
---|---|---|
committer | Neil Conway <neilc@samurai.com> | 2005-06-30 01:59:20 +0000 |
commit | 4714984149a2eac08c6766a068569d0d27f027ec (patch) | |
tree | 44a0ae38736d6cd347cbae63a715736e3e54d24f /src/backend/access/gist/gistutil.c | |
parent | 401de9c8bef9c77dd25ba6c111094bba14d470d8 (diff) | |
download | postgresql-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