summaryrefslogtreecommitdiffstats
path: root/tests/012/circ.tl
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2023-06-28 06:46:22 -0700
committerKaz Kylheku <kaz@kylheku.com>2023-06-28 06:46:22 -0700
commit60708150c2efd57f34962b336d9e63684a00aeca (patch)
tree3769b7d31ed6557e123c5551c090e2b3347653a4 /tests/012/circ.tl
parent010f5afe311b8a4f52597db2085a3aae49213c68 (diff)
downloadtxr-60708150c2efd57f34962b336d9e63684a00aeca.tar.gz
txr-60708150c2efd57f34962b336d9e63684a00aeca.tar.bz2
txr-60708150c2efd57f34962b336d9e63684a00aeca.zip
ssort: gc bug in vector case.
* gc.[ch] (gc_prot_array_alloc): Return the COBJ via new pointer argument. * lib.c (ssort_vec): Capture the object from gt_prot_array_alloc into a local variable, That makes it visible to the garbage collector, so it won't be prematurely reclaimed. Since we don't use or return that object, we need to use gc_hint.
Diffstat (limited to 'tests/012/circ.tl')
0 files changed, 0 insertions, 0 deletions