postgresql/src/include/lib
Andres Freund eabf98e949 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-
2024-04-07 19:09:07 -07:00
..
binaryheap.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
bipartite_match.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
bloomfilter.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
dshash.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
hyperloglog.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
ilist.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
integerset.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
knapsack.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pairingheap.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
qunique.h Skip memcpy(x, x) in qunique(). 2020-01-04 11:31:42 -08:00
rbtree.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
simplehash.h simplehash: Free collisions array in SH_STAT 2024-04-07 19:09:07 -07:00
stringinfo.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00