- Fixed deallocation mismatch
- Fix possible memory leak in ffi module