This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Commit e08c3dc
committed
[[ Bug 21926 ]] Fix memory leak when using message box put command
This patch fixes a memory leak which occurs when using the message
box targetting put command variant (i.e. put or put into msg). The
leak was occurring due to a failure to delete the handler name
and line number arguments (in the form of MCParmaeter instances). To
fix this, the MCParameter instances are now allocated on the stack
rather than on the heap.1 parent 009e465 commit e08c3dc
2 files changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
149 | | - | |
| 148 | + | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
156 | | - | |
157 | | - | |
| 155 | + | |
| 156 | + | |
158 | 157 | | |
159 | 158 | | |
160 | 159 | | |
| |||
164 | 163 | | |
165 | 164 | | |
166 | 165 | | |
167 | | - | |
| 166 | + | |
168 | 167 | | |
169 | 168 | | |
170 | 169 | | |
| |||
0 commit comments