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_3_STABLE

Modified Files:
--------------
    pgsql/src/backend/catalog:
        index.c (r1.202 -> r1.202.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/index.c.diff?r1=1.202&r2=1.202.2.1)

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster