summaryrefslogtreecommitdiff
path: root/src/tutorial/complex.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-04-30 19:15:58 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-04-30 19:15:58 +0000
commit80dc8a8fa343fc54bc2fe945b215bebdb287e342 (patch)
treeffbcb9635b18d497841a49f6ed15623a6e75170d /src/tutorial/complex.c
parent750503cea56606b068f12dfb313013b008ddfdf7 (diff)
Fix multiple memory leaks in PLy_spi_execute_fetch_result: it would leak
memory if the result had zero rows, and also if there was any sort of error while converting the result tuples into Python data. Reported and partially fixed by Andres Freund. Back-patch to all supported versions. Note: I haven't tested the 7.4 fix. 7.4's configure check for python is so obsolete it doesn't work on my current machines :-(. The logic change is pretty straightforward though.
Diffstat (limited to 'src/tutorial/complex.c')
0 files changed, 0 insertions, 0 deletions