Fix memory leak on relocator wrap-around