[pacman-dev] [PATCH v2] Attempt to free lock on failure in alpm_db_update()