aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-01-20 00:05:54 +0000
committerBruce Momjian <bruce@momjian.us>2001-01-20 00:05:54 +0000
commitd12885235818da5575e6e2dd47fa5657642be418 (patch)
treeea4b39d1796ca7c6781b82911c354bcd0c084774 /src/tutorial/funcs.c
parenta7ea9f46e17f7ff9fd665c11dcd4466749f4e8ea (diff)
downloadpostgresql-d12885235818da5575e6e2dd47fa5657642be418.tar.gz
postgresql-d12885235818da5575e6e2dd47fa5657642be418.zip
In the Programmer's Guide, the sample code for accessing large objects
from libpq has two functions with memory leaks. The functions pickout() and overwrite() malloc space for buf which is never freed. See http://www.postgresql.org/users-lounge/docs/7.0/programmer/largeobjects3207.htm This problem is also in the 6.5 docs at http://www.postgresql.org/users-lounge/docs/6.5/programmer/x3184.htm Nishad Prakash
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions