Commit f755f3b
authored
[metadata] Fix leaks when handling a few attributes (#16850)
[2019-08] [metadata] Fix leaks when handling a few attributes
Callers of mono_reflection_create_custom_attr_data_args_noalloc were leaking some of the returned information. Accessed attributes are FixedBufferAttribute and UnmanagedFunctionPointerAttribute.
Backport of #16675.
/cc @BrzVlad1 parent 5f9a2db commit f755f3b
3 files changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
185 | 186 | | |
186 | 187 | | |
187 | 188 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3902 | 3902 | | |
3903 | 3903 | | |
3904 | 3904 | | |
| 3905 | + | |
3905 | 3906 | | |
| 3907 | + | |
3906 | 3908 | | |
3907 | 3909 | | |
3908 | 3910 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3229 | 3229 | | |
3230 | 3230 | | |
3231 | 3231 | | |
| 3232 | + | |
3232 | 3233 | | |
3233 | 3234 | | |
3234 | 3235 | | |
| |||
0 commit comments