forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc890b48
committed
Free PQresult on error in pg_receivexlog.
The leak is fairly small and rare, but a leak nevertheless.Per Coverity report. Backpatch to 9.2, where pg_receivexlog was added.pg_basebackup shares the code, but it always exits on error, so there isno real leak.1 parente6df2e1 commitc890b48
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
858 | 858 |
| |
859 | 859 |
| |
860 | 860 |
| |
| 861 | + | |
861 | 862 |
| |
862 | 863 |
| |
863 | 864 |
| |
| |||
867 | 868 |
| |
868 | 869 |
| |
869 | 870 |
| |
| 871 | + | |
870 | 872 |
| |
871 | 873 |
| |
872 | 874 |
| |
|
0 commit comments
Comments
(0)