forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit152d24f
committed
Fix minor leak in pg_dump
Move allocation to after we check the remote server version, to avoida possible, very minor, memory leak. This makes us more consistentthroughout as most places in pg_dump are done in the same way (due, inpart, to previous fixes like this).Spotted by the Coverity scanner.1 parenta7e5f7b commit152d24f
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3602 | 3602 |
| |
3603 | 3603 |
| |
3604 | 3604 |
| |
3605 |
| - | |
| 3605 | + | |
3606 | 3606 |
| |
3607 | 3607 |
| |
3608 | 3608 |
| |
| |||
3617 | 3617 |
| |
3618 | 3618 |
| |
3619 | 3619 |
| |
| 3620 | + | |
| 3621 | + | |
3620 | 3622 |
| |
3621 | 3623 |
| |
3622 | 3624 |
| |
|
0 commit comments
Comments
(0)