- Notifications
You must be signed in to change notification settings - Fork4.9k
Commitb669293
committed
pg_dump: Set private_date pointer to NULL in callback
The end callback for ZStandard compression frees the private_databut didn't set the pointer to NULL after freeing. This is not abug as the code is right now, since nothing is dereferencing thepointer upon returning from the callback but it is good practiceto do.Author: Alexander Kuznetsov <kuznetsovam@altlinux.org>Reviewed-by: Daniel Gustafsson <daniel@yesql.se>Reviewed-by: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>Reviewed-by: Michael Paquier <michael@paquier.xyz>Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://postgr.es/m/efaee52b-9550-44ca-8633-ea86076b3283@altlinux.org1 parente4b0f86 commitb669293
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
142 | 142 |
| |
143 | 143 |
| |
144 | 144 |
| |
| 145 | + | |
145 | 146 |
| |
146 | 147 |
| |
147 | 148 |
| |
|
0 commit comments
Comments
(0)