diff options
author | Joe Conway <mail@joeconway.com> | 2014-06-20 12:22:34 -0700 |
---|---|---|
committer | Joe Conway <mail@joeconway.com> | 2014-06-20 12:26:26 -0700 |
commit | 9d884a34c343641f7ab3c24377d7ec0970df4eea (patch) | |
tree | 116bf1d0d26a7996ba1137f641e0a1a99584e274 /src/backend/utils/adt/jsonfuncs.c | |
parent | 4bc0a13a8a6af0320923a89238b7ab3f27c28d56 (diff) | |
download | postgresql-9d884a34c343641f7ab3c24377d7ec0970df4eea.tar.gz postgresql-9d884a34c343641f7ab3c24377d7ec0970df4eea.zip |
Clean up data conversion short-lived memory context.
dblink uses a short-lived data conversion memory context. However it
was not deleted when no longer needed, leading to a noticeable memory
leak under some circumstances. Plug the hole, along with minor
refactoring. Backpatch to 9.2 where the leak was introduced.
Report and initial patch by MauMau. Reviewed/modified slightly by
Tom Lane and me.
Diffstat (limited to 'src/backend/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions