diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-02-24 08:07:51 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-02-24 08:07:51 -0800 |
commit | 37cfe995711604880217b1e07ee1274819a2b926 (patch) | |
tree | 438425da8a26553b2b3e17f354f804025ea12b06 /ffi.c | |
parent | 423b56b353fd0de803d734613bc93372c0986a59 (diff) | |
download | txr-37cfe995711604880217b1e07ee1274819a2b926.tar.gz txr-37cfe995711604880217b1e07ee1274819a2b926.tar.bz2 txr-37cfe995711604880217b1e07ee1274819a2b926.zip |
ffi: gc bug in cptr type.
* ffi.c (ffi_type_common_mark): We must mark tft->tag field
whih is used by the cptr type and is otherwise nil.
Diffstat (limited to 'ffi.c')
-rw-r--r-- | ffi.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -244,6 +244,7 @@ static void ffi_type_common_mark(struct txr_ffi_type *tft) { gc_mark(tft->lt); gc_mark(tft->syntax); + gc_mark(tft->tag); } static void ffi_type_mark(val obj) |