about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--ext/kgio/tryopen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/kgio/tryopen.c b/ext/kgio/tryopen.c
index 20f3f6d..d87cb17 100644
--- a/ext/kgio/tryopen.c
+++ b/ext/kgio/tryopen.c
@@ -194,4 +194,5 @@ void init_kgio_tryopen(void)
                                   ID2SYM(const_id));
                 }
         }
+        RB_GC_GUARD(tmp);
 }