forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0ad7830
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 parentc6d048c commit0ad7830
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
912 | 912 |
| |
913 | 913 |
| |
914 | 914 |
| |
| 915 | + | |
915 | 916 |
| |
916 | 917 |
| |
917 | 918 |
| |
| |||
921 | 922 |
| |
922 | 923 |
| |
923 | 924 |
| |
| 925 | + | |
924 | 926 |
| |
925 | 927 |
| |
926 | 928 |
| |
|
0 commit comments
Comments
(0)