Fix dangling pointer reference in T8242
drwxr-xr-x - testsuite