diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/clogger_ext/clogger.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/clogger_ext/clogger.c b/ext/clogger_ext/clogger.c index f29cf26..83ce76a 100644 --- a/ext/clogger_ext/clogger.c +++ b/ext/clogger_ext/clogger.c @@ -682,6 +682,7 @@ static VALUE cwrite(struct clogger *c) if (c->fd >= 0) { write_full(c->fd, RSTRING_PTR(dst), RSTRING_LEN(dst)); + /* no need for RB_GC_GUARD(dst) here, marked as c->log_buf */ } else { VALUE logger = c->logger; |