From: Ivan Maidanski Date: Tue, 15 Nov 2016 21:41:33 +0000 (+0300) Subject: Fix register_finalizer call in disclaim_bench for GC_DEBUG X-Git-Tag: v7.4.6~208 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1b55c40c420f685472d832b5e7236beec8d47e06;p=gc Fix register_finalizer call in disclaim_bench for GC_DEBUG * tests/disclaim_bench.c (testobj_new): Call GC_REGISTER_FINALIZER_NO_ORDER instead of GC_register_finalizer_no_order. --- diff --git a/tests/disclaim_bench.c b/tests/disclaim_bench.c index 0d418131..a2fc3972 100644 --- a/tests/disclaim_bench.c +++ b/tests/disclaim_bench.c @@ -53,7 +53,7 @@ testobj_t testobj_new(int model) case 0: obj = GC_MALLOC(sizeof(struct testobj_s)); if (obj != NULL) - GC_register_finalizer_no_order(obj, testobj_finalize, + GC_REGISTER_FINALIZER_NO_ORDER(obj, testobj_finalize, &free_count, NULL, NULL); break; case 1: