diff --git a/ext/fiddle/function.c b/ext/fiddle/function.c index 95648d3c96..bd6c9bd60d 100644 --- a/ext/fiddle/function.c +++ b/ext/fiddle/function.c @@ -31,9 +31,9 @@ VALUE cFiddleFunction; static void deallocate(void *p) { - ffi_cif *ptr = p; - if (ptr->arg_types) xfree(ptr->arg_types); - xfree(ptr); + ffi_cif *cif = p; + if (cif->arg_types) xfree(cif->arg_types); + xfree(cif); } static size_t