summaryrefslogtreecommitdiff
path: root/src/common/jsonapi.c
diff options
context:
space:
mode:
authorTom Lane2021-03-19 00:37:09 +0000
committerTom Lane2021-03-19 02:22:47 +0000
commit28644fac10731e30e70b622986a6fbbeb5a5b2f9 (patch)
treef2cb8f70089b1ea9b1f84650ab928d783e4a50dc /src/common/jsonapi.c
parenta16b2b960f0eec2fe367e86017b3c24ed688ba2b (diff)
Don't leak rd_statlist when a relcache entry is dropped.
Although these lists are usually NIL, and even when not empty are unlikely to be large, constant relcache update traffic could eventually result in visible bloat of CacheMemoryContext. Found via valgrind testing. Back-patch to v10 where this field was added. Discussion: https://postgr.es/m/3816764.1616104288@sss.pgh.pa.us
Diffstat (limited to 'src/common/jsonapi.c')
0 files changed, 0 insertions, 0 deletions