Fix use-after-free in glob when expanding ~user (bug 25414)
The value of `end_name' points into the value of `dirname', thus don't deallocate the latter before the last use of the former.
Loading
The value of `end_name' points into the value of `dirname', thus don't deallocate the latter before the last use of the former.