aboutsummaryrefslogtreecommitdiff
path: root/src/common/jsonapi.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2024-04-01 13:47:27 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2024-04-01 13:47:49 -0400
commit91cbb4b492cbea889e8392a85e246c1778ca2a45 (patch)
treeba650f890085c07867403513408c8bfda2ca887c /src/common/jsonapi.c
parent6f47f6883151366c031cd6fd4011e66d2c702a90 (diff)
downloadpostgresql-91cbb4b492cbea889e8392a85e246c1778ca2a45.tar.gz
postgresql-91cbb4b492cbea889e8392a85e246c1778ca2a45.zip
Fix assorted resource leaks in new pg_createsubscriber code.
Various error paths did not release resources before returning. While it's likely that the program would just exit shortly later, none of the functions in question have summary exit(1) calls, so they should not be assuming that. Ranier Vilela and Tom Lane, per reports from Coverity Discussion: https://postgr.es/m/CAEudQAr2_SZFxB4kXJiL4+2UaNZxUk5UBJtj0oXyJYMGZu-03g@mail.gmail.com
Diffstat (limited to 'src/common/jsonapi.c')
0 files changed, 0 insertions, 0 deletions