Commit 39f06c0
committed
ORCA: Fix memory leak in CWindowOids by adding destructor
CWindowOids class was leaking three CMDIdGPDB objects (m_MDIdRowNumber,
m_MDIdRank, m_MDDenseRank) that were allocated in the constructor but
never released.
Fixes ORCA unit test failures:
- gporca_test_CXformTest
- gporca_test_CConstExprEvaluatorDefaultTest1 parent 882fbf2 commit 39f06c0
File tree
2 files changed
+9
-0
lines changed- src/backend/gporca/libgpopt
- include/gpopt/base
- src/base
2 files changed
+9
-0
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
21 | 28 | | |
22 | 29 | | |
23 | 30 | | |
| |||
0 commit comments