[Git][pacman/pacman][master] Free memory on failure to create temporary directory