slub: fix a possible memory leak