Upon closer inspection, Greg's psql tab completion patch leaks memory.
authorNeil Conway <neilc@samurai.com>
Wed, 18 May 2005 05:01:10 +0000 (05:01 +0000)
committerNeil Conway <neilc@samurai.com>
Wed, 18 May 2005 05:01:10 +0000 (05:01 +0000)
commit6910032a56dd3841be137b4bef7c57ef32a60ac8
tree5325445fb5e5405361f8a4191cce3257ad35e8e3
parent4c1f9a0f0bb41c31b26bb88ba8c5d3fca4521dd7
Upon closer inspection, Greg's psql tab completion patch leaks memory.
Fix the leak, and add a comment to note that the return value of
previous_word must be free'd.
src/bin/psql/tab-complete.c