pgsql: Fix ancient memory leak in index_create():

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

pgsql: Fix ancient memory leak in index_create():

Tom Lane-3
Log Message:
-----------
Fix ancient memory leak in index_create(): RelationInitIndexAccessInfo
was being called twice in normal operation, leading to a leak of one set
of relcache subsidiary info.  Per report from Jeff Gold.

Tags:
----
REL7_4_STABLE

Modified Files:
--------------
    pgsql/src/backend/catalog:
        index.c (r1.219 -> r1.219.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/index.c.diff?r1=1.219&r2=1.219.2.1)

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend