Fix nil check
This commit is contained in:
parent
3a8e4279b7
commit
e379e85b91
|
|
@ -16,7 +16,7 @@ static void
|
|||
ruby_whisper_parakeet_model_mark(void *p)
|
||||
{
|
||||
ruby_whisper_parakeet_model *rwpm = (ruby_whisper_parakeet_model *)p;
|
||||
if (rwpm->context) {
|
||||
if (!NIL_P(rwpm->context)) {
|
||||
rb_gc_mark(rwpm->context);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue