Project

General

Profile

« Previous | Next » 

Revision a9f45aac

Added by byroot (Jean Boussier) about 2 years ago

rb_data_free: Fix freeing embedded TypedData

The previous implementation was using the pointer given
by DATA_PTR in all cases. But in the case of an embedded
TypedData, that pointer is garbage, we need to use RTYPEDDATA_GET_DATA
to get the proper data pointer.

Co-Authored-By: Étienne Barrié