mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/fiddle] Use meaningful variable name
https://github.com/ruby/fiddle/commit/2cac24b7c8
This commit is contained in:
parent
50fbd00e76
commit
9f740acaf9
Notes:
git
2020-06-28 02:03:20 +09:00
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue