diff options
author | Nathan Bossart <nathan@postgresql.org> | 2025-04-06 15:11:41 -0500 |
---|---|---|
committer | Nathan Bossart <nathan@postgresql.org> | 2025-04-06 15:11:41 -0500 |
commit | de48056ec7d237e6a48dce907804ac26c87311ec (patch) | |
tree | 8f4d22578b8b783052dd241114be02571118841a /src/tutorial/funcs.c | |
parent | 57dec20fd4691900fbe118699d32640fc538dc20 (diff) | |
download | postgresql-de48056ec7d237e6a48dce907804ac26c87311ec.tar.gz postgresql-de48056ec7d237e6a48dce907804ac26c87311ec.zip |
pg_upgrade: Fix memory leak in check_for_unicode_update().
This function was initializing the "task" variable before a couple
of early returns. To fix, postpone the initialization until just
before it's needed.
Per Coverity.
Discussion: https://postgr.es/m/Z_KMsUH2-FEbiNjC%40nathan
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions