diff options
author | Joe Conway <mail@joeconway.com> | 2014-06-20 12:22:50 -0700 |
---|---|---|
committer | Joe Conway <mail@joeconway.com> | 2014-06-20 12:26:43 -0700 |
commit | b3a3f3d2f437922258371aee78c587b3f774b992 (patch) | |
tree | d8d43ed859ab3e4317a1425de88b89648fdfcd78 /src/backend/utils/adt/jsonfuncs.c | |
parent | 46c450c0b04471fc52602520c0a436bda42a3c0d (diff) | |
download | postgresql-b3a3f3d2f437922258371aee78c587b3f774b992.tar.gz postgresql-b3a3f3d2f437922258371aee78c587b3f774b992.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