We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d77e59e commit a5706f7Copy full SHA for a5706f7
1 file changed
internal.h
@@ -293,6 +293,7 @@ rb_method_cache_clear(VALUE klass)
293
struct rb_classext_struct *ext = RCLASS(klass)->ptr;
294
if (ext->cache.entries) {
295
xfree(ext->cache.entries);
296
+ ext->cache.entries = NULL;
297
}
298
299
0 commit comments