diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-06-09 07:00:20 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-06-09 07:00:20 -0700 |
commit | 5bdf9fbeb0a6714158535e5aec0619df49b687c6 (patch) | |
tree | e38c2774c662d1ef56f482c58c2ee7822d780904 /tests/016/arith.tl | |
parent | b2b2173b5c28b0d6b012b9369cedba37751d6a4b (diff) | |
download | txr-5bdf9fbeb0a6714158535e5aec0619df49b687c6.tar.gz txr-5bdf9fbeb0a6714158535e5aec0619df49b687c6.tar.bz2 txr-5bdf9fbeb0a6714158535e5aec0619df49b687c6.zip |
ffi: fix leak on struct/union redefinition.
* ffi.c (make_ffi_type_struct, make_ffi_type_union): When we
are replacing the existing type, if HAVE_FFI is true, we
must free the tft->ft object before clobbering the tft with
zeros.
Diffstat (limited to 'tests/016/arith.tl')
0 files changed, 0 insertions, 0 deletions