Merge "SharedBuffer: Fix bug in return value of release()"