1
0
Fork 0
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:
Sutou Kouhei 2020-06-27 07:11:19 +09:00 committed by Nobuyoshi Nakada
parent 50fbd00e76
commit 9f740acaf9
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6
Notes: git 2020-06-28 02:03:20 +09:00

View file

@ -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