forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb0be247
committed
Fix a tiny memory leak (one List header) in RelationCacheInvalidate().
This is utterly insignificant in normal operation, but it becomes aproblem during cache inval stress testing. The original coding in facthad no leak --- the 8.0 List rewrite created the issue. I wonder whetherlist_concat should pfree the discarded header?1 parent7259cc1 commitb0be247
1 file changed
+7
-3
lines changedLines changed: 7 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
1795 | 1795 |
| |
1796 | 1796 |
| |
1797 | 1797 |
| |
1798 |
| - | |
1799 |
| - | |
1800 | 1798 |
| |
1801 | 1799 |
| |
1802 | 1800 |
| |
| |||
1805 | 1803 |
| |
1806 | 1804 |
| |
1807 | 1805 |
| |
| 1806 | + | |
| 1807 | + | |
| 1808 | + | |
| 1809 | + | |
| 1810 | + | |
| 1811 | + | |
1808 | 1812 |
| |
1809 | 1813 |
| |
1810 | 1814 |
| |
|
0 commit comments
Comments
(0)