sass / sassc-ruby

Use libsass with Ruby!
MIT License
363 stars 157 forks source link

Use FFI::MemoryPointer instead of libc's malloc() #205

Closed larskanis closed 4 years ago

larskanis commented 4 years ago

FFI provides a memory allocator class, so that there's no need to call malloc() directly.

This is related to https://github.com/ffi/ffi/issues/784 and fixes the segfault on Windows.