pgsql: In bttext_abbrev_convert, move pfree to the right place.
pgsql: In bttext_abbrev_convert, move pfree to the right place.
От:
Robert Haas <rhaas@postgresql.org>
Дата:
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 Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/b48ecf862b3896631660ee8d38054aded82a4f8b Modified Files -------------- src/backend/utils/adt/varlena.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)