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)
commit91ca77ba1347284c69851a1b76908be18621797e
tree2db4b1194f8c30304b2b59749f833606a64a34a9
parentbf0daaa4ec675fb93d081ff677f50ab4c2b93e5f
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