Commit 294f6ad
committed
[RF] Fix invalid proxy and memory leak in RooNonCPEigenDecay
There was an invalid proxy in `RooNonCPEigenDecay`, because it was
initialized via move assignement which is not supported for proxies.
Furthermore, there was a memory leak of the arg that this proxy points
to, which is fixed by making the proxy own that arg.1 parent b3c8804 commit 294f6ad
File tree
2 files changed
+2
-4
lines changed- roofit/roofit
- inc
- src
2 files changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
150 | 151 | | |
151 | 152 | | |
152 | 153 | | |
153 | 154 | | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | 155 | | |
158 | 156 | | |
159 | 157 | | |
| |||
0 commit comments