summaryrefslogtreecommitdiffstats
path: root/tests/016/arith.tl
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-06-09 07:00:20 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-06-09 07:00:20 -0700
commit5bdf9fbeb0a6714158535e5aec0619df49b687c6 (patch)
treee38c2774c662d1ef56f482c58c2ee7822d780904 /tests/016/arith.tl
parentb2b2173b5c28b0d6b012b9369cedba37751d6a4b (diff)
downloadtxr-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