Commit eabd4c5
committed
[[ Bug ]] Fix over-release crash in ListToNSArray
This patch fixes an over-release of any objective-c objects that are elements
of a list passed to `ListToNSArray`. `MCValueConvertToCFTypeRef` should return
a retained object which will be released when `MCAutoCustomPointer<const void, CFDeleter> t_cf_value;`
goes out of scope.
(cherry picked from commit 3688b01)1 parent 3f86720 commit eabd4c5
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
514 | 514 | | |
515 | 515 | | |
516 | 516 | | |
517 | | - | |
| 517 | + | |
518 | 518 | | |
519 | 519 | | |
520 | 520 | | |
| |||
0 commit comments