Skip site navigation (1) Skip section navigation (2)

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

From: neilc(at)svr1(dot)postgresql(dot)org (Neil Conway)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Upon closer inspection, Greg's psql tab completion patch leaks
Date: 2005-05-18 05:01:10
Message-ID: 20050518050110.E5ACE528AF@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
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)

pgsql-committers by date

Next:From: User AndrewdDate: 2005-05-19 19:19:11
Subject: pgbuildfarm - client-code: report the steps the script actually passed
Previous:From: Neil ConwayDate: 2005-05-18 04:47:40
Subject: pgsql: psql tab completion improvements, from Greg Sabino Mullane: *

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group