[PATCH 6.0 207/314] rethook: fix a potential memleak in rethook_alloc()