Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved autorelease methods to FFI::Pointer
This allows code to alter the autorelease behaviour of regular Rubinius::FFI::Pointer instances. As an example, rubysl-socket returns a bunch of ifaddr pointers which are freed using freeifaddrs(). By default these pointers have auto-releasing enabled which results in Rubinius attempting to finalize/free already free'd pointers which in turn segfaults Rubinius.
- Loading branch information