[PATCH 6.0 067/862] nvmem: core: Fix memleak in nvmem_register()