bdiff: avoid a memory error on malloc failure

--HG--
branch : stable