diff --git a/lib/debugobjects.c b/lib/debugobjects.c index 37061ede8b8..7d09b6c8f6f 100644 --- a/lib/debugobjects.c +++ b/lib/debugobjects.c @@ -1077,7 +1077,7 @@ void __init debug_objects_mem_init(void) obj_cache = kmem_cache_create("debug_objects_cache", sizeof (struct debug_obj), 0, SLAB_DEBUG_OBJECTS, NULL); - + kmemleak_not_leak(obj_cache); if (!obj_cache || debug_objects_replace_static_objects()) { debug_objects_enabled = 0; if (obj_cache)