execveat: free pathbuf on success as well as failure