commit | b1f9eb6b37dace844ab927421c2dbfdff954e72d | [log] [tgz] |
---|---|---|
author | Yang Ni <yangni@google.com> | Tue Mar 08 14:11:22 2016 -0800 |
committer | Yang Ni <yangni@google.com> | Wed Mar 09 14:43:32 2016 -0800 |
tree | 8a4ee799f0a26f304c28fc609bc1e1ba0bbfcba9 | |
parent | a53bf64187bcf01ed1c62eacd52f6c6f41b5864b [diff] |
Reset usrRefCount for rsObjects created by SSRS Bug: 25570907 After calling runtime API to create an rsObject, decrement its user ref count to 0, so that they don't get leaked after the script finishes. To avoid deleting them too early, increment the sys ref count first. The increment will be matched with a rsClearObj() call inserted by slang. Change-Id: Iaa7312447efdd7d79f43be0bee44324b663de8d5 (cherry picked from commit 8133c6617ea975c0c08f28b6d1705dd27a92f35f)