[pacman-dev] [PATCH] build_payload: free memory on error