forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit353708e
committed
Clean up recent Coverity complaints.
Commit5c649fe introduced a memory leak into pg_basebackup'sparse_compress_options. (I simplified nearby code while at it.)Commit9a974cb introduced a memory leak into pg_dump'sbinary_upgrade_set_pg_class_oids.Coverity also complained about a call of SnapBuildProcessChange thatignored the result, unlike every other call of that function. Thisis evidently intentional, so add a (void) cast to indicate that.(It's also old, dating tob89e151; I suppose the reason it showedup now is7a5f6b4's recent rearrangement of nearby code.)1 parentdc43fc9 commit353708e
File tree
3 files changed
+10
-4
lines changed- src
- backend/replication/logical
- bin
- pg_basebackup
- pg_dump
3 files changed
+10
-4
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
498 | 498 |
| |
499 | 499 |
| |
500 | 500 |
| |
501 |
| - | |
| 501 | + | |
502 | 502 |
| |
503 | 503 |
| |
504 | 504 |
| |
|
Lines changed: 7 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
948 | 948 |
| |
949 | 949 |
| |
950 | 950 |
| |
951 |
| - | |
| 951 | + | |
952 | 952 |
| |
953 | 953 |
| |
954 | 954 |
| |
| |||
959 | 959 |
| |
960 | 960 |
| |
961 | 961 |
| |
962 |
| - | |
| 962 | + | |
963 | 963 |
| |
964 | 964 |
| |
965 | 965 |
| |
| |||
983 | 983 |
| |
984 | 984 |
| |
985 | 985 |
| |
| 986 | + | |
| 987 | + | |
986 | 988 |
| |
987 | 989 |
| |
988 | 990 |
| |
| |||
992 | 994 |
| |
993 | 995 |
| |
994 | 996 |
| |
| 997 | + | |
995 | 998 |
| |
996 | 999 |
| |
997 | 1000 |
| |
| |||
1010 | 1013 |
| |
1011 | 1014 |
| |
1012 | 1015 |
| |
| 1016 | + | |
| 1017 | + | |
1013 | 1018 |
| |
1014 | 1019 |
| |
1015 | 1020 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4714 | 4714 |
| |
4715 | 4715 |
| |
4716 | 4716 |
| |
4717 |
| - | |
4718 | 4717 |
| |
4719 | 4718 |
| |
4720 | 4719 |
| |
| |||
4728 | 4727 |
| |
4729 | 4728 |
| |
4730 | 4729 |
| |
| 4730 | + | |
| 4731 | + | |
4731 | 4732 |
| |
4732 | 4733 |
| |
4733 | 4734 |
| |
|
0 commit comments
Comments
(0)