]> granicus.if.org Git - postgresql/commit
In bttext_abbrev_convert, move pfree to the right place.
authorRobert Haas <rhaas@postgresql.org>
Tue, 30 Jun 2015 03:53:05 +0000 (23:53 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 30 Jun 2015 03:53:05 +0000 (23:53 -0400)
commitb48ecf862b3896631660ee8d38054aded82a4f8b
treed5cb65fc39fb8e77272224b45f397f8ea4374390
parent47fe4d25d57c81b9d7b2ac88783a12ee487db220
In bttext_abbrev_convert, move pfree to the right place.

Without this, we might access memory that's already been freed, or
leak memory if in the C locale.

Peter Geoghegan
src/backend/utils/adt/varlena.c