forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8cb90b2
committed
Avoid minor leak in parallel pg_dump
During parallel pg_dump, a worker process closing the connection causeda minor memory leak (particularly minor as we are likely about to exitanyway). Instead, free the memory in this case prior to returning NULLto indicate connection closed.Spotting by the Coverity scanner.Back patch to 9.3 where this was introduced.1 parentbe5d499 commit8cb90b2
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1288 | 1288 | | |
1289 | 1289 | | |
1290 | 1290 | | |
1291 | | - | |
| 1291 | + | |
1292 | 1292 | | |
1293 | 1293 | | |
1294 | 1294 | | |
| |||
1303 | 1303 | | |
1304 | 1304 | | |
1305 | 1305 | | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
1306 | 1314 | | |
1307 | 1315 | | |
1308 | 1316 | | |
| |||
0 commit comments
Comments
(0)