From 9f740acaf960c0d8fa4b72050f057bc157db31ce Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Sat, 27 Jun 2020 07:11:19 +0900 Subject: [PATCH] [ruby/fiddle] Use meaningful variable name https://github.com/ruby/fiddle/commit/2cac24b7c8 --- ext/fiddle/function.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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