From 72e8f0fdc06255a538078eb50334d584fbf0cebd Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 7 Jun 2016 06:27:34 -0700 Subject: Fix syslog stream leak. This one is minor because there is only one syslog stream. * syslog.c (syslog_strm_ops): Use cobj_destroy_free_op rather than cobj_destroy_stub_op. --- syslog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syslog.c b/syslog.c index e0242729..044649d3 100644 --- a/syslog.c +++ b/syslog.c @@ -222,7 +222,7 @@ static val syslog_set_prop(val stream, val ind, val prop) static_def(struct strm_ops syslog_strm_ops = strm_ops_init(cobj_ops_init(eq, stream_print_op, - cobj_destroy_stub_op, + cobj_destroy_free_op, syslog_mark, cobj_hash_op), wli("syslog-stream"), -- cgit v1.2.3