Thread: pgsql: Upon closer inspection, Greg's psql tab completion patch leaks

pgsql: Upon closer inspection, Greg's psql tab completion patch leaks

From
neilc@svr1.postgresql.org (Neil Conway)
Date:
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/bin/psql:
        tab-complete.c (r1.128 -> r1.129)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/tab-complete.c.diff?r1=1.128&r2=1.129)