commit | 0b8411471e7d2d332610ec16f555ab8cc434d167 | [log] [tgz] |
---|---|---|
author | Yang Ni <yangni@google.com> | Wed Mar 23 16:00:11 2016 -0700 |
committer | Yang Ni <yangni@google.com> | Wed Mar 23 16:00:11 2016 -0700 |
tree | 7298ba635f66a1bdb74f06373ef868a26bff70b0 | |
parent | ae775e9f82339228720c90379e6f7e978e2f8512 [diff] |
Bump sysRefCount for new objects from the runtime Bug: 27814601 Slang expects any new rsObjects to have sysRefCount 1, and adds a rsClearObject() call when the rsObject goes out of scope. To match this expectation, all runtime functions that create rsObjects need to bump up their sysRefCounts to 1. Change-Id: I097c4ac6f00edf1d39fc1d88238be78d29a09257