[MASSMAIL]pgsql: simplehash: Free collisions array in SH_STAT
[MASSMAIL]pgsql: simplehash: Free collisions array in SH_STAT
От:
Andres Freund <andres@anarazel.de>
Дата:
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 Reported-by: Coverity Discussion: https://postgr.es/m/3005248.1712538233@sss.pgh.pa.us Backpatch: 12- Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/dcb7cf945c88eabce7f8350023b8184266d96a12 Modified Files -------------- src/include/lib/simplehash.h | 3 +++ 1 file changed, 3 insertions(+)