diff options
author | Sutou Kouhei <kou@clear-code.com> | 2020-06-27 07:11:19 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-06-27 23:54:08 +0900 |
commit | 9f740acaf960c0d8fa4b72050f057bc157db31ce (patch) | |
tree | 66339ed99c8ab35386419ca2905e9237104cd8e8 | |
parent | 50fbd00e76f2a7a6ed17e73605fa69ce80cafb01 (diff) | |
download | ruby-9f740acaf960c0d8fa4b72050f057bc157db31ce.tar.gz |
[ruby/fiddle] Use meaningful variable name
https://github.com/ruby/fiddle/commit/2cac24b7c8
-rw-r--r-- | ext/fiddle/function.c | 6 |
1 files 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 |