diff options
author | Andres Freund <andres@anarazel.de> | 2024-04-07 19:00:11 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2024-04-07 19:09:02 -0700 |
commit | 974374dcd394c80f37e20b692b7d8b122aa8ed33 (patch) | |
tree | 484d1fa010ecee0a231db68fb2635484d5a889ca /src/tutorial/funcs.c | |
parent | a690920015bddc9c20f93d1a828c53ac3c21e489 (diff) |
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-
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions