[MASSMAIL]pgsql: simplehash: Free collisions array in SH_STAT

Поиск
Список
Период
Сортировка
От Andres Freund
Тема [MASSMAIL]pgsql: simplehash: Free collisions array in SH_STAT
Дата
Msg-id E1rteSD-0013Zy-QJ@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
simplehash: Free collisions array in SH_STAT

While SH_STAT() is only used for debugging, the allocated array can be large,
and therefore should be freed.

It's unclear why coverity started warning now.

Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Reported-by: Coverity
Discussion: https://postgr.es/m/3005248.1712538233@sss.pgh.pa.us
Backpatch: 12-

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/eabf98e949e3a655494a32ceb8d146117cce0505

Modified Files
--------------
src/include/lib/simplehash.h | 3 +++
1 file changed, 3 insertions(+)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: pgsql: Send ALPN in TLS handshake, require it in direct SSL connections
Следующее
От: Peter Geoghegan
Дата:
Сообщение: [MASSMAIL]pgsql: Remove redundant nbtree preprocessing assertions.