[PATCH openEuler-1.0-LTS 024/103] share_pool: Set errno when fail in sp_free()