diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-06-07 06:27:34 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-06-07 06:27:34 -0700 |
commit | 8534d4641187f4f730ca63c707b3b433fae75a04 (patch) | |
tree | 1e03d41ca2e48d05e61c2cce99a0f65edf6f8dd5 | |
parent | 4e29f984c04e9d504d3221284361fc38bfa8eb6e (diff) | |
download | txr-8534d4641187f4f730ca63c707b3b433fae75a04.tar.gz txr-8534d4641187f4f730ca63c707b3b433fae75a04.tar.bz2 txr-8534d4641187f4f730ca63c707b3b433fae75a04.zip |
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.
-rw-r--r-- | syslog.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"), |