summaryrefslogtreecommitdiff
path: root/src/backend/storage/buffer
diff options
context:
space:
mode:
authorDaniel Gustafsson2025-04-17 10:58:00 +0000
committerDaniel Gustafsson2025-04-17 10:58:00 +0000
commitb669293e3432ee8fdcd44854a945837bb18eea5c (patch)
tree75e854d9c1b42217fc581cee6bd226d2779389f6 /src/backend/storage/buffer
parente4b0f86e1fe38147b0bcf6e50862d0899a31201c (diff)
pg_dump: Set private_date pointer to NULL in callback
The end callback for ZStandard compression frees the private_data but didn't set the pointer to NULL after freeing. This is not a bug as the code is right now, since nothing is dereferencing the pointer upon returning from the callback but it is good practice to do. Author: Alexander Kuznetsov <[email protected]> Reviewed-by: Daniel Gustafsson <[email protected]> Reviewed-by: Ashutosh Bapat <[email protected]> Reviewed-by: Michael Paquier <[email protected]> Reviewed-by: Tom Lane <[email protected]> Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/backend/storage/buffer')
0 files changed, 0 insertions, 0 deletions