diff options
author | Amit Kapila <akapila@postgresql.org> | 2021-06-01 14:25:19 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2021-06-01 14:25:19 +0530 |
commit | d2505681211b4803cae916e9f4c2331943f851dc (patch) | |
tree | ff229f8eec641038d745260dad48aabcd4c78e31 /src/backend/commands/matview.c | |
parent | e2f21ff606dae2f7f7a9e323a88c99b464d2f787 (diff) |
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/commands/matview.c')
0 files changed, 0 insertions, 0 deletions