diff options
author | Amit Kapila <akapila@postgresql.org> | 2021-06-01 14:14:02 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2021-06-01 14:27:14 +0530 |
commit | eb89cb43a0d0e401e71b8e2345b5f5bc8b2755a1 (patch) | |
tree | e92c866c1bb9152c3b446a3fddae952c0553e95c /src/backend/executor/nodeMergejoin.c | |
parent | a40646e30d85e51a76fb620822d4d921b6802157 (diff) | |
download | postgresql-eb89cb43a0d0e401e71b8e2345b5f5bc8b2755a1.tar.gz postgresql-eb89cb43a0d0e401e71b8e2345b5f5bc8b2755a1.zip |
pgoutput: Fix memory leak due to RelationSyncEntry.map.
Release memory allocated when creating the tuple-conversion map and its
component TupleDescs when its owning sync entry is invalidated.
TupleDescs must also be freed when no map is deemed necessary, to begin
with.
Reported-by: Andres Freund
Author: Amit Langote
Reviewed-by: Takamichi Osumi, Amit Kapila
Backpatch-through: 13, where it was introduced
Discussion: https://postgr.es/m/MEYP282MB166933B1AB02B4FE56E82453B64D9@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
Diffstat (limited to 'src/backend/executor/nodeMergejoin.c')
0 files changed, 0 insertions, 0 deletions