From 75e89c5bcb659dd2b0cf0888b4e3b165f63376cc Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 15 Jun 2016 21:38:34 -0700 Subject: Bogus gc marking code in syslog module. * syslog.c (syslog_mark): Remove incorrect stray code, which passes a pointer to a non-gc-object to the gc_mark function. This code was left behind in the change which introduced struct syslog_strm, git hash e44c113ee17c7cf15e8b1891f4d51ec03b16bc24 "Deriving streams from the same base", July 29, 2015. --- syslog.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'syslog.c') diff --git a/syslog.c b/syslog.c index 044649d3..85789e70 100644 --- a/syslog.c +++ b/syslog.c @@ -136,8 +136,6 @@ static void syslog_mark(val stream) strm_base_mark(&s->a); gc_mark(s->prio); gc_mark(s->strstream); - val stuff = coerce(val, stream->co.handle); - gc_mark(stuff); } static val syslog_put_string(val stream, val str) -- cgit v1.2.3