[FOLD] Plug tiny memory leak, remove unreachable code